From 97d88af79808ba4755057027a8d418899ca26b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 27 Sep 2019 21:08:46 +0200 Subject: [PATCH] Disable RedisTenancyBootstrapper by default --- assets/config.php | 2 +- tests/TestCase.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/config.php b/assets/config.php index 538759ec..686d6619 100644 --- a/assets/config.php +++ b/assets/config.php @@ -72,8 +72,8 @@ return [ 'database' => Stancl\Tenancy\TenancyBootstrappers\DatabaseTenancyBootstrapper::class, 'cache' => Stancl\Tenancy\TenancyBootstrappers\CacheTenancyBootstrapper::class, 'filesystem' => Stancl\Tenancy\TenancyBootstrappers\FilesystemTenancyBootstrapper::class, - 'redis' => Stancl\Tenancy\TenancyBootstrappers\RedisTenancyBootstrapper::class, 'queue' => Stancl\Tenancy\TenancyBootstrappers\QueueTenancyBootstrapper::class, + // 'redis' => Stancl\Tenancy\TenancyBootstrappers\RedisTenancyBootstrapper::class, // Note: phpredis is needed ], 'features' => [ // Features are classes that provide additional functionality diff --git a/tests/TestCase.php b/tests/TestCase.php index a7146e4c..e09a13d8 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -100,6 +100,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase 'tenancy.redis.prefixed_connections' => ['default'], 'tenancy.migrations_directory' => database_path('../migrations'), 'tenancy.storage.db.connection' => 'central', + 'tenancy.bootstrappers.redis' => \Stancl\Tenancy\TenancyBootstrappers\RedisTenancyBootstrapper::class, ]); if (env('TENANCY_TEST_STORAGE_DRIVER', 'redis') === 'redis') {