update 1.0.8.0
Commits for version update
This commit is contained in:
46
vendor/maatwebsite/excel/tests/Excel/ExcelTester.php
vendored
Normal file
46
vendor/maatwebsite/excel/tests/Excel/ExcelTester.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Mockery as m;
|
||||
|
||||
class ExcelTester extends ExcelTestCase {
|
||||
|
||||
/**
|
||||
* Test select sheets
|
||||
* @return
|
||||
*/
|
||||
public function testSelectSheets()
|
||||
{
|
||||
$selected = $this->excel->selectSheets(array('sheet'));
|
||||
$this->assertEquals($this->excel, $selected);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test select sheets
|
||||
* @return
|
||||
*/
|
||||
public function testSelectSheetsByIndex()
|
||||
{
|
||||
$selected = $this->excel->selectSheetsByIndex(array('0'));
|
||||
$this->assertEquals($this->excel, $selected);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the share view
|
||||
* @return
|
||||
*/
|
||||
public function testShareView()
|
||||
{
|
||||
$selected = $this->excel->shareView('filename', array('test'), array('test'));
|
||||
$this->assertEquals($this->writer, $selected);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test load view
|
||||
* @return
|
||||
*/
|
||||
public function testLoadView()
|
||||
{
|
||||
$selected = $this->excel->loadView('filename', array('test'), array('test'));
|
||||
$this->assertEquals($this->writer, $selected);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user