diff --git a/.gitignore b/.gitignore index c7cf933c..2a3062b7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ vendor/ .idea psysh .phpunit.result.cache +.phpunit.cache phpunit_var_*.xml coverage/ clover.xml diff --git a/tests/TestCase.php b/tests/TestCase.php index 524e42b6..6ac62f95 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -57,6 +57,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase $app['config']->set([ 'database.default' => 'central', + 'cache.default' => 'redis', 'database.redis.cache.host' => env('TENANCY_TEST_REDIS_HOST', '127.0.0.1'), 'database.redis.default.host' => env('TENANCY_TEST_REDIS_HOST', '127.0.0.1'), 'database.redis.options.prefix' => 'foo',