File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ public function it_has_see_artisan_output_assertion()
1010 $ this ->seeArtisanOutput ('Hello, World! ' );
1111 }
1212
13+ /** @test */
14+ public function which_accepts_file_path_as_output_parameter ()
15+ {
16+ $ this ->artisan ('generic ' );
17+
18+ $ this ->seeArtisanOutput (__DIR__ . '/ArtisanAssertsTest/correct.output.txt ' );
19+ }
20+
1321 /** @test */
1422 public function it_has_dont_see_artisan_output_assertion ()
1523 {
@@ -18,6 +26,14 @@ public function it_has_dont_see_artisan_output_assertion()
1826 $ this ->dontSeeArtisanOutput ('Hello, Universe! ' );
1927 }
2028
29+ /** @test */
30+ public function which_also_accepts_file_path_as_output_parameter ()
31+ {
32+ $ this ->artisan ('generic ' );
33+
34+ $ this ->dontSeeArtisanOutput (__DIR__ . '/ArtisanAssertsTest/incorrect.output.txt ' );
35+ }
36+
2137 /** @test */
2238 public function it_has_see_artisan_table_output_assertion ()
2339 {
You can’t perform that action at this time.
0 commit comments