Skip to content

Commit 937e254

Browse files
Fixed Error: Call to undefined method PendingCommand::assertSuccessful()
1 parent 8519dcc commit 937e254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Commands/EventsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testSuccess()
2121

2222
Event::fake();
2323

24-
$this->artisan(Names::ACTIONS)->assertSuccessful();
24+
$this->artisan(Names::ACTIONS)->assertExitCode(0);
2525

2626
Event::assertDispatchedTimes(ActionStarted::class, 1);
2727
Event::assertDispatchedTimes(ActionEnded::class, 1);

0 commit comments

Comments
 (0)