diff --git a/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php b/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php index 2960963d3447..5b5d9935c078 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('fire')->andReturnUsing(function ($called) { + $mock->shouldReceive('dispatch')->andReturnUsing(function ($called) { $this->firedEvents[] = $called; });