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

Fix #99 (always skipped tests)

This commit is contained in:
Samuel Štancl 2019-08-23 17:26:56 +02:00
parent 24f8e10c1b
commit c6a0e40439

View file

@ -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);