File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
tests/TestingTools/Asserts Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 1+ Node-2
You can’t perform that action at this time.
0 commit comments