Sheet visibility - XLSX writer and reader
This commit is contained in:
1 parent
ddfa40e8b3
commit
b9206fcb4b
8 files changed
+102
-8
No files matched your search
@@ -30,6 +30,17 @@ class SheetTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertTrue($sheets[1]->isActive());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function testReaderShouldReturnCorrectSheetVisibility()
|
||||
{
|
||||
$sheets = $this->openFileAndReturnSheets('two_sheets_one_hidden_one_not.xlsx');
|
||||
|
||||
$this->assertFalse($sheets[0]->isVisible());
|
||||
$this->assertTrue($sheets[1]->isVisible());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $fileName
|
||||
* @return Sheet[]
|
||||
|
||||
Reference in new issue
Block a user