We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PendingCommand::assertSuccessful()
1 parent 8519dcc commit 937e254Copy full SHA for 937e254
tests/Commands/EventsTest.php
@@ -21,7 +21,7 @@ public function testSuccess()
21
22
Event::fake();
23
24
- $this->artisan(Names::ACTIONS)->assertSuccessful();
+ $this->artisan(Names::ACTIONS)->assertExitCode(0);
25
26
Event::assertDispatchedTimes(ActionStarted::class, 1);
27
Event::assertDispatchedTimes(ActionEnded::class, 1);
0 commit comments