Skip to content

Commit 5474c55

Browse files
committed
ITT: dontSeeArtisanTableOutput assertion added.
1 parent cf2c4ac commit 5474c55

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Asserts/ArtisanAsserts.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,16 @@ protected function dontSeeArtisanOutput($output)
2222

2323
protected function seeArtisanTableOutput(array $data)
2424
{
25-
$message = 'Failed asserting that artisan table output equals to expected value.';
25+
$message = 'Failed asserting that artisan table output consists of expected data.';
2626
$this->assertEquals($data, $this->parseArtisanTableOutput(Artisan::output()), $message);
2727
}
2828

29+
protected function dontSeeArtisanTableOutput(array $data)
30+
{
31+
$message = 'Failed asserting that artisan table output not consists of expected data.';
32+
$this->assertNotEquals($data, $this->parseArtisanTableOutput(Artisan::output()), $message);
33+
}
34+
2935
private function parseArtisanTableOutput($output)
3036
{
3137
$parsed = [];

0 commit comments

Comments
 (0)