mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:14:04 +00:00
Fix #99 (always skipped tests)
This commit is contained in:
parent
24f8e10c1b
commit
c6a0e40439
1 changed files with 0 additions and 9 deletions
|
|
@ -39,11 +39,6 @@ class BootstrapsTenancyTest extends TestCase
|
|||
/** @test */
|
||||
public function predis_is_supported()
|
||||
{
|
||||
// No setDriver() before that version.
|
||||
if (app()->version() < 'v5.8.27') {
|
||||
$this->markTestSkipped();
|
||||
}
|
||||
|
||||
Config::set('database.redis.client', 'predis');
|
||||
Redis::setDriver('predis');
|
||||
Config::set('tenancy.redis.tenancy', false);
|
||||
|
|
@ -55,10 +50,6 @@ class BootstrapsTenancyTest extends TestCase
|
|||
/** @test */
|
||||
public function predis_is_not_supported_without_disabling_redis_multitenancy()
|
||||
{
|
||||
if (app()->version() < 'v5.8.27') {
|
||||
$this->markTestSkipped();
|
||||
}
|
||||
|
||||
Config::set('database.redis.client', 'predis');
|
||||
Redis::setDriver('predis');
|
||||
Config::set('tenancy.redis.tenancy', true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue