Skip to content

Commit 3c28f7e

Browse files
committed
ITT: Simplified.
1 parent f19d495 commit 3c28f7e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/Asserts/ArtisanAssertsTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public function it_has_see_artisan_table_output_assertion()
2828
$this->artisan('table-output');
2929

3030
$this->seeArtisanTableOutput([
31-
['Date' => '2016-12-13 13:13:13', 'System' => 'Alpha', 'Status' => 'Enabled'],
32-
['Date' => '2016-12-14 14:14:14', 'System' => 'Beta', 'Status' => 'Enabled'],
33-
['Date' => '2016-12-15 15:15:15', 'System' => 'Gamma', 'Status' => 'Disabled'],
31+
['System' => 'Node-1', 'Status' => 'Enabled'],
32+
['System' => 'Node-2', 'Status' => 'Enabled'],
33+
['System' => 'Node-3', 'Status' => 'Enabled'],
3434
]);
3535
}
3636

@@ -40,9 +40,9 @@ public function it_has_dont_see_artisan_table_output_assertion()
4040
$this->artisan('table-output');
4141

4242
$this->dontSeeArtisanTableOutput([
43-
['Date' => '2016-12-13 13:13:13', 'System' => 'Alpha', 'Status' => 'Enabled'],
44-
['Date' => '2016-12-14 14:14:14', 'System' => 'Beta', 'Status' => 'Enabled'],
45-
['Date' => '2016-12-15 15:15:15', 'System' => 'Gamma', 'Status' => 'Enabled'],
43+
['System' => 'Node-1', 'Status' => 'Disabled'],
44+
['System' => 'Node-2', 'Status' => 'Disabled'],
45+
['System' => 'Node-3', 'Status' => 'Disabled'],
4646
]);
4747
}
4848
}

tests/fixture/app/Console/Commands/TableOutputCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public function handle()
1616
private function getRows()
1717
{
1818
return [
19-
['Date' => '2016-12-13 13:13:13', 'System' => 'Alpha', 'Status' => 'Enabled'],
20-
['Date' => '2016-12-14 14:14:14', 'System' => 'Beta', 'Status' => 'Enabled'],
21-
['Date' => '2016-12-15 15:15:15', 'System' => 'Gamma', 'Status' => 'Disabled'],
19+
['System' => 'Node-1', 'Status' => 'Enabled'],
20+
['System' => 'Node-2', 'Status' => 'Enabled'],
21+
['System' => 'Node-3', 'Status' => 'Enabled'],
2222
];
2323
}
2424
}

0 commit comments

Comments
 (0)