PhpSpreadsheet/tests/PhpSpreadsheetTests/Functional
oleibman 5d1ab39def
Replace Tests With Unneeded Mocking (#2465)
Replace mock tests with real ones when possible. The original tests are all still present; they just take place in a more representative scenario.

After this, there will be 4 remaining uses of mocking. Of these, 3 are needed for scenarios which are otherwise hard to test - WebServiceTest, CellsTest, and SampleCoverageTest. For the other one, AutoFilterTest, I just can't figure out what it's trying to accomplish, so have left it alone.

This change is almost entirely restricted to tests. There is a one-line change in src. When the first argument passed to OFFSET is null or nullstring, the returned value is currently 0. However, according to the documentation for Excel, it should be `#VALUE!`. The code is changed accordingly.
2021-12-31 13:24:43 -08:00
..
AbstractFunctional.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
ActiveSheetTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
ColumnWidthTest.php BREAKING `Worksheet::getRowDimension()` and `Worksheet::getColumnDimension()` cannot return null anymore 2021-04-25 17:02:36 +09:00
CommentsTest.php Html Reader Comments (#2235) 2021-08-05 08:40:13 -07:00
ConditionalStopIfTrueTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
ConditionalTextTest.php Save Excel 2010+ Functions Properly 2020-05-18 12:37:35 +09:00
DrawingImageHyperlinkTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
EnclosureTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
FreezePaneTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
MergedCellsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
PrintAreaTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
ReadBlankCellsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
ReadFilterFilter.php Replace Tests With Unneeded Mocking (#2465) 2021-12-31 13:24:43 -08:00
ReadFilterTest.php Replace Tests With Unneeded Mocking (#2465) 2021-12-31 13:24:43 -08:00
SelectedCellsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
StreamTest.php Codestyle clean-ups 2020-10-09 16:08:20 +02:00
TypeAttributePreservationTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
WorkbookViewAttributesTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00