diff --git a/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php b/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php index 5b5d9935c078..c50ce707a159 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php +++ b/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php @@ -101,7 +101,7 @@ protected function withoutEvents() { $mock = Mockery::mock(EventsDispatcherContract::class); - $mock->shouldReceive('dispatch')->andReturnUsing(function ($called) { + $mock->shouldReceive('fire', 'dispatch')->andReturnUsing(function ($called) { $this->firedEvents[] = $called; });