Skip to content

Commit c645056

Browse files
committed
ITT: Tests added.
1 parent 0151b62 commit c645056

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

tests/TestingTools/Asserts/ArtisanAssertsTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,22 @@ public function which_also_accepts_file_path_instead_of_string_output()
8383
$this->dontSeeArtisanOutput(__DIR__ . '/ArtisanAssertsTest/generic.incorrect.output.txt');
8484
}
8585

86+
/** @test */
87+
public function it_has_see_in_artisan_output_assertion()
88+
{
89+
$this->artisan('table-output');
90+
91+
$this->seeInArtisanOutput('Node-2');
92+
}
93+
94+
/** @test */
95+
public function which_also_accepts_file_path_instead_of_string_needle()
96+
{
97+
$this->artisan('table-output');
98+
99+
$this->seeInArtisanOutput(__DIR__ . '/ArtisanAssertsTest/table.needle.output.txt');
100+
}
101+
86102
/** @test */
87103
public function it_has_see_artisan_table_output_assertion()
88104
{
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Node-2

0 commit comments

Comments
 (0)