diff --git a/tests/FunctionalTest.php b/tests/FunctionalTest.php index 49ba47f..d8861c1 100644 --- a/tests/FunctionalTest.php +++ b/tests/FunctionalTest.php @@ -19,7 +19,7 @@ use VirtualFileSystem\FileSystem as Vfs; use PHPUnit\Framework\TestCase; -class FunctionalTest extends TestCase +class FunctionalTest extends TestCase { use MockeryPHPUnitIntegration; @@ -58,7 +58,7 @@ protected function initUpchuck() */ protected function mockEvents() { - return m::mock('Illuminate\Events\Dispatcher', ['dispatch' => null]); + return m::mock('Illuminate\Contracts\Events\Dispatcher', ['dispatch' => null]); } // https://github.com/laracasts/TestDummy/blob/master/tests/FactoryTest.php#L18