mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:24:05 +00:00
Set default cache driver to redis in tests
This commit is contained in:
parent
b98db79dde
commit
cdc6e31a52
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,6 +5,7 @@ vendor/
|
|||
.idea
|
||||
psysh
|
||||
.phpunit.result.cache
|
||||
.phpunit.cache
|
||||
phpunit_var_*.xml
|
||||
coverage/
|
||||
clover.xml
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue