Skip to content

Commit 9a4a9b9

Browse files
committed
ITT: ArtisanAsserts tests added.
1 parent 88ea76e commit 9a4a9b9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/Asserts/ArtisanAssertsTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,16 @@ public function it_has_dont_see_artisan_output_assertion()
2121

2222
$this->dontSeeArtisanOutput('Hello, Universe!');
2323
}
24+
25+
/** @test */
26+
public function it_has_see_artisan_table_output_assertion()
27+
{
28+
$this->artisan('table-output');
29+
30+
$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'],
34+
]);
35+
}
2436
}

0 commit comments

Comments
 (0)