Shared strings table without uniqueCount and count should work (#269)

Use file based strategy in this case
This commit is contained in:
Adrien Loison authored and GitHub committed 2016-07-11 19:03:37 +02:00
1 parent ffea8871a6
commit a8eb7ad39c
5 files changed
+26 -6

No files matched your search

+14
View File
@@ -126,6 +126,20 @@ class ReaderTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($expectedRows, $allRows);
}
/**
* @return void
*/
public function testReadShouldSupportSheetWithSharedStringsMissingUniqueCountAndCountAttributes()
{
$allRows = $this->getAllRowsForFile('one_sheet_with_shared_strings_missing_unique_count_and_count.xlsx');
$expectedRows = [
['s1--A1', 's1--B1'],
['s1--A2', 's1--B2'],
];
$this->assertEquals($expectedRows, $allRows);
}
/**
* @return void
*/