diff --git a/tests/Etc/CacheAction.php b/tests/Etc/CacheAction.php index 01da11e8..825b8772 100644 --- a/tests/Etc/CacheAction.php +++ b/tests/Etc/CacheAction.php @@ -4,12 +4,12 @@ declare(strict_types=1); namespace Stancl\Tenancy\Tests\Etc; -use Illuminate\Cache\CacheManager; +use Illuminate\Cache\Repository; class CacheAction { public function __construct( - protected CacheManager $cache + protected Repository $cache ){ } diff --git a/tests/PrefixCacheBootstrapperTest.php b/tests/PrefixCacheBootstrapperTest.php index 3c342f36..3a161714 100644 --- a/tests/PrefixCacheBootstrapperTest.php +++ b/tests/PrefixCacheBootstrapperTest.php @@ -12,7 +12,9 @@ use Stancl\Tenancy\Tests\Etc\CacheAction; beforeEach(function () { config([ - 'tenancy.bootstrappers' => [PrefixCacheTenancyBootstrapper::class], + 'tenancy.bootstrappers' => [ + PrefixCacheTenancyBootstrapper::class + ], 'cache.default' => 'redis', ]);