1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 11:34:03 +00:00

Add Predis support (#59)

* wip

* Add Predis support

* Enable phpredis extension only for some builds

* Add note about phpredis

* Fix if command

* Revert travis changes & add a version check to predis tests
This commit is contained in:
Samuel Štancl 2019-07-03 14:48:55 +02:00 committed by GitHub
parent e7b5a77a6b
commit 1b6759084f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 75 additions and 18 deletions

View file

@ -36,7 +36,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
public function initTenancy($domain = 'localhost')
{
tenancy()->init($domain);
return tenancy()->init($domain);
}
/**
@ -72,6 +72,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
'public',
's3',
],
'tenancy.redis.tenancy' => true,
'tenancy.migrations_directory' => database_path('../migrations'),
]);
}