Skip to content

Commit 4c0eab5

Browse files
authored
test: remove unneeded table template
1 parent 39903e6 commit 4c0eab5

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

tests/system/View/TableTest.php

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -822,42 +822,7 @@ public static function orderedColumnUsecases(): iterable
822822
*/
823823
public function testGenerateTableWithHeadingContainFieldNamedData(): void
824824
{
825-
$tableTemplate = [
826-
'table_open' => '<table border="1" cellpadding="2" cellspacing="1">',
827-
828-
'thead_open' => '<thead>',
829-
'thead_close' => '</thead>',
830-
831-
'heading_row_start' => '<tr>',
832-
'heading_row_end' => '</tr>',
833-
'heading_cell_start' => '<th>',
834-
'heading_cell_end' => '</th>',
835-
836-
'tfoot_open' => '<tfoot>',
837-
'tfoot_close' => '</tfoot>',
838-
839-
'footing_row_start' => '<tr>',
840-
'footing_row_end' => '</tr>',
841-
'footing_cell_start' => '<td>',
842-
'footing_cell_end' => '</td>',
843-
844-
'tbody_open' => '<tbody>',
845-
'tbody_close' => '</tbody>',
846-
847-
'row_start' => '<tr>',
848-
'row_end' => '</tr>',
849-
'cell_start' => '<td>',
850-
'cell_end' => '</td>',
851-
852-
'row_alt_start' => '<tr>',
853-
'row_alt_end' => '</tr>',
854-
'cell_alt_start' => '<td>',
855-
'cell_alt_end' => '</td>',
856-
857-
'table_close' => '</table>',
858-
];
859-
860-
$table = new Table($tableTemplate);
825+
$table = new Table();
861826
$table->setHeading([
862827
'codigo' => 'Codigo Orçamento',
863828
'data' => 'Data do Orçamento',

0 commit comments

Comments
 (0)