Skip to content

Commit

Permalink
test: remove unneeded table template
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis authored Oct 26, 2023
1 parent 39903e6 commit 4c0eab5
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions tests/system/View/TableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -822,42 +822,7 @@ public static function orderedColumnUsecases(): iterable
*/
public function testGenerateTableWithHeadingContainFieldNamedData(): void
{
$tableTemplate = [
'table_open' => '<table border="1" cellpadding="2" cellspacing="1">',

'thead_open' => '<thead>',
'thead_close' => '</thead>',

'heading_row_start' => '<tr>',
'heading_row_end' => '</tr>',
'heading_cell_start' => '<th>',
'heading_cell_end' => '</th>',

'tfoot_open' => '<tfoot>',
'tfoot_close' => '</tfoot>',

'footing_row_start' => '<tr>',
'footing_row_end' => '</tr>',
'footing_cell_start' => '<td>',
'footing_cell_end' => '</td>',

'tbody_open' => '<tbody>',
'tbody_close' => '</tbody>',

'row_start' => '<tr>',
'row_end' => '</tr>',
'cell_start' => '<td>',
'cell_end' => '</td>',

'row_alt_start' => '<tr>',
'row_alt_end' => '</tr>',
'cell_alt_start' => '<td>',
'cell_alt_end' => '</td>',

'table_close' => '</table>',
];

$table = new Table($tableTemplate);
$table = new Table();
$table->setHeading([
'codigo' => 'Codigo Orçamento',
'data' => 'Data do Orçamento',
Expand Down

0 comments on commit 4c0eab5

Please sign in to comment.