diff --git a/tests/Feature/EntityManagerFactoryTest.php b/tests/Feature/EntityManagerFactoryTest.php index 9088c194..3f11cdc9 100644 --- a/tests/Feature/EntityManagerFactoryTest.php +++ b/tests/Feature/EntityManagerFactoryTest.php @@ -536,12 +536,12 @@ public function test_illuminate_cache_provider_custom_store() return $config; }); - $cache = M::mock(Illuminate\Contracts\Cache\Repository::class); + $cache = M::mock(\Illuminate\Contracts\Cache\Repository::class); $factory = M::mock(\Illuminate\Contracts\Cache\Factory::class); $factory->shouldReceive('store')->with('myStoreName')->andReturn($cache); - $container->singleton(Illuminate\Contracts\Cache\Factory::class, function () use ($factory) { + $container->singleton(\Illuminate\Contracts\Cache\Factory::class, function () use ($factory) { return $factory; }); @@ -594,12 +594,12 @@ public function test_illuminate_cache_provider_redis() return $config; }); - $cache = M::mock(Illuminate\Contracts\Cache\Repository::class); + $cache = M::mock(\Illuminate\Contracts\Cache\Repository::class); $factory = M::mock(\Illuminate\Contracts\Cache\Factory::class); $factory->shouldReceive('store')->with('redis')->andReturn($cache); - $container->singleton(Illuminate\Contracts\Cache\Factory::class, function () use ($factory) { + $container->singleton(\Illuminate\Contracts\Cache\Factory::class, function () use ($factory) { return $factory; }); @@ -652,12 +652,12 @@ public function test_illuminate_cache_provider_invalid_store() return $config; }); - $cache = M::mock(Illuminate\Contracts\Cache\Repository::class); + $cache = M::mock(\Illuminate\Contracts\Cache\Repository::class); $factory = M::mock(\Illuminate\Contracts\Cache\Factory::class); $factory->shouldReceive('store')->with('myStoreName')->andReturn($cache); - $container->singleton(Illuminate\Contracts\Cache\Factory::class, function () use ($factory) { + $container->singleton(\Illuminate\Contracts\Cache\Factory::class, function () use ($factory) { return $factory; });