PhpSpreadsheet/tests/PhpSpreadsheetTests/Reader
oleibman b67404229a
Allow Skipping One Unit Test (#2402)
* Allow Skipping One Unit Test

Alone in the test suite, URLImageTest needs to access the internet. It's a little fragile (the site that it's looking for may go away or change), but no real problem. However, on my system, it runs afoul of my proxy. Rather than jumping through hoops when I run the test suite (which happens very often), I am changing the test to skip if an environment variable is set to a specific value. This should not adversely affect anyone, and the test will still run in github, but it will help me a lot.

* Scrutinizer

It complained that my one new if statement made the module too complex. There actually were a number of if-then-else situations that could be handled just as well with assertions. I have changed it accordingly.
2021-11-19 14:24:42 -08:00
..
Csv Csv, Boolean, and StringValueBinder (#2374) 2021-11-12 00:04:08 -08:00
Gnumeric Merge branch 'master' into PHP8-Sane-Property-Names 2021-10-31 15:25:01 +09:00
Html Html import dimension conversions (#2152) 2021-06-11 17:29:49 +02:00
Ods Tweaks to Input File Validation (#2217) 2021-07-24 20:44:04 -07:00
Security Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Slk Process Comments in Sylk File (#2277) 2021-08-26 11:56:13 -07:00
Utility When image source is a URL, store the URL for use during extraction. (#2072) 2021-06-24 10:50:44 +02:00
Xls fix #1114 issue (#2308) 2021-10-03 09:29:23 -07:00
Xlsx Allow Skipping One Unit Test (#2402) 2021-11-19 14:24:42 -08:00
Xml Merge branch 'master' into PHP8-Sane-Property-Names 2021-10-31 15:25:01 +09:00