File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
tests/PhpSpreadsheetTests/Reader/Xlsx Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 55namespace PhpOffice \PhpSpreadsheetTests \Reader \Xlsx ;
66
77use PhpOffice \PhpSpreadsheet \Reader \Xlsx ;
8- use PHPUnit \ Framework \ TestCase ;
8+ use PhpOffice \ PhpSpreadsheetTests \ Functional \ AbstractFunctional ;
99
10- class Issue4049Test extends TestCase
10+ class Issue4049Test extends AbstractFunctional
1111{
12- public static function testPr1869 (): void
12+ public function testColorScale (): void
1313 {
1414 $ xlsxFile = 'tests/data/Reader/XLSX/issue.4049.xlsx ' ;
1515 $ reader = new Xlsx ();
16- $ spreadsheet = $ reader ->load ($ xlsxFile );
16+ $ oldSpreadsheet = $ reader ->load ($ xlsxFile );
17+ $ spreadsheet = $ this ->writeAndReload ($ oldSpreadsheet , 'Xlsx ' );
18+ $ oldSpreadsheet ->disconnectWorksheets ();
1719 $ sheet = $ spreadsheet ->getActiveSheet ();
1820 $ conditionals = $ sheet ->getConditionalStylesCollection ();
1921 self ::assertCount (1 , $ conditionals );
You can’t perform that action at this time.
0 commit comments