diff --git a/tests/FunctionalTest.php b/tests/FunctionalTest.php index 01b881f..0f87acd 100644 --- a/tests/FunctionalTest.php +++ b/tests/FunctionalTest.php @@ -49,7 +49,7 @@ protected function initUpchuck() { } protected function mockEvents() { - return m::mock('Illuminate\Events\Dispatcher', [ 'fire' => null ]); + return m::mock('Illuminate\Events\Dispatcher', [ 'dispatch' => null ]); } // https://github.com/laracasts/TestDummy/blob/master/tests/FactoryTest.php#L18