You are here

public function ArrayExporterTest::testExportPage1 in Loft Data Grids 7.2

File

vendor/aklump/loft_data_grids/tests/phpunit/ArrayExporterTest.php, line 59
Tests for the ArrayExporter class

Class

ArrayExporterTest

Namespace

AKlump\LoftDataGrids

Code

public function testExportPage1() {
  $control = json_decode('[[{"Order No.":"1182","Transaction Date":"11\\/7\\/13","Customer Name":"Hope, Roberta"}]]', true);
  $subject = $this->exporter
    ->export(1);
  $this
    ->assertSame($control, $subject);
}