show short summary under export table (#1547)

This commit is contained in:
Kevin Papst
2020-03-12 17:05:51 +01:00
committed by GitHub
parent 7f931cbfd3
commit fbdc668a22
4 changed files with 29 additions and 8 deletions

View File

@@ -84,7 +84,8 @@ class ExportControllerTest extends ControllerBaseTest
// make sure all existing records are displayed
$this->assertHasDataTable($client);
$this->assertDataTableRowCount($client, 'datatable_export', 22);
// +1 row for summary
$this->assertDataTableRowCount($client, 'datatable_export', 23);
// assert export type buttons are available
$expected = ['csv', 'html', 'pdf', 'xlsx'];
@@ -135,7 +136,8 @@ class ExportControllerTest extends ControllerBaseTest
// make sure all existing records are displayed
$this->assertHasDataTable($client);
$this->assertDataTableRowCount($client, 'datatable_export', 2);
// +1 row for summary
$this->assertDataTableRowCount($client, 'datatable_export', 3);
// assert export type buttons are available
$expected = ['csv', 'html', 'pdf', 'xlsx'];