function XLSExporterTest::testFilename in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/aklump/loft_data_grids/tests/XLSExporterTest.php \AKlump\LoftDataGrids\XLSExporterTest::testFilename()
File
- vendor/
aklump/ loft_data_grids/ tests/ phpunit/ XLSXExporterTest.php, line 66 - Tests for the XLSExporter class
Class
Namespace
AKlump\LoftDataGridsCode
function testFilename() {
$this->exporter2
->setFilename('alpha.txt');
$this
->assertSame('alpha.xlsx', $this->exporter2
->getFilename());
$this->exporter2
->setFilename('bravo.xlsx');
$this
->assertSame('bravo.xlsx', $this->exporter2
->getFilename());
$obj = new XLSXExporter($this->data2, 'omega.php');
$this
->assertSame('omega.xlsx', $obj
->getFilename());
}