Fetch XML file paths from Workbook Relationships

This commit is contained in:
Adrien Loison committed 2017-11-11 15:25:12 +01:00
1 parent 0c8a53c821
commit e2b519d6f9
9 files changed
+226 -33

No files matched your search

+17
View File
@@ -169,6 +169,23 @@ class ReaderTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($expectedRows, $allRows);
}
/**
* @return void
*/
public function testReadShouldSupportFilesWithCapitalSharedStringsFileName()
{
$allRows = $this->getAllRowsForFile('one_sheet_with_capital_shared_strings_filename.xlsx');
$expectedRows = [
['s1--A1', 's1--B1', 's1--C1', 's1--D1', 's1--E1'],
['s1--A2', 's1--B2', 's1--C2', 's1--D2', 's1--E2'],
['s1--A3', 's1--B3', 's1--C3', 's1--D3', 's1--E3'],
['s1--A4', 's1--B4', 's1--C4', 's1--D4', 's1--E4'],
['s1--A5', 's1--B5', 's1--C5', 's1--D5', 's1--E5'],
];
$this->assertEquals($expectedRows, $allRows);
}
/**
* @return void
*/