diff --git a/src/Orchestra/Optimize/Compiler.php b/src/Orchestra/Optimize/Compiler.php index 7c5ee58..6ad2733 100644 --- a/src/Orchestra/Optimize/Compiler.php +++ b/src/Orchestra/Optimize/Compiler.php @@ -1,6 +1,6 @@ config = $config; $this->files = $files; diff --git a/tests/CompilerTest.php b/tests/CompilerTest.php index dfc8178..f4b3130 100644 --- a/tests/CompilerTest.php +++ b/tests/CompilerTest.php @@ -22,7 +22,7 @@ public function tearDown() */ public function testRunMethod() { - $config = m::mock('\Illuminate\Config\FileLoader'); + $config = m::mock('\Illuminate\Config\Repository'); $files = m::mock('\Illuminate\Filesystem\Filesystem'); $path = '/var/www/laravel/vendor'; $components = array( diff --git a/tests/OptimizeServiceProviderTest.php b/tests/OptimizeServiceProviderTest.php index d8fbb02..4a9a9d0 100644 --- a/tests/OptimizeServiceProviderTest.php +++ b/tests/OptimizeServiceProviderTest.php @@ -38,7 +38,7 @@ public function tearDown() public function testRegisterMethod() { $app = $this->app; - $app['config'] = $config = m::mock('\Illuminate\Config\FileLoader'); + $app['config'] = $config = m::mock('\Illuminate\Config\Repository'); $app['events'] = $events = m::mock('\Illuminate\Events\Dispatcher'); $app['files'] = $files = m::mock('\Illuminate\Filesystem\Filesystem'); $app['path.base'] = '/var/www/laravel';