Support XLSX that don't have a sharedStrings.xml file

This commit is contained in:
Adrien Loison committed 2015-05-28 17:59:30 -07:00
1 parent f8f194bc8f
commit 04d41d7c9f
4 files changed
+38 -15

No files matched your search

+14
View File
@@ -100,6 +100,20 @@ class XLSXTest extends \PHPUnit_Framework_TestCase
}
}
/**
* @return void
*/
public function testReadShouldSupportFilesWithoutSharedStringsFile()
{
$allRows = $this->getAllRowsForFile('sheet_with_no_shared_strings_file.xlsx');
$expectedRows = [
[10, 11],
[20, 21],
];
$this->assertEquals($expectedRows, $allRows);
}
/**
* @return void
*/