mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:34:04 +00:00
Fix Redis scan for predis, make phpunit use multiple configs (e.g. different Redis drivers)
This commit is contained in:
parent
fe6ce82045
commit
0dc8c80a02
6 changed files with 37 additions and 13 deletions
|
|
@ -66,6 +66,10 @@ class DataSeparationTest extends TestCase
|
|||
/** @test */
|
||||
public function redis_is_separated()
|
||||
{
|
||||
if (! config('tenancy.redis.tenancy')) {
|
||||
$this->markTestSkipped('Redis tenancy disabled.');
|
||||
}
|
||||
|
||||
tenancy()->create('tenant1.localhost');
|
||||
tenancy()->create('tenant2.localhost');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue