You are here

function XLSExporterTest::testHeaders in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/aklump/loft_data_grids/tests/XLSExporterTest.php \AKlump\LoftDataGrids\XLSExporterTest::testHeaders()

File

vendor/aklump/loft_data_grids/tests/phpunit/XLSXExporterTest.php, line 118
Tests for the XLSExporter class

Class

XLSExporterTest

Namespace

AKlump\LoftDataGrids

Code

function testHeaders() {
  $subject = $this->records2[0];
  $return = $this->exporter2
    ->getHeader();
  $this
    ->assertSame(array_combine(array_keys($subject), array_keys($subject)), $return);
}