From c6a0e404391aa8a37010cd536de818ab7053c216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 23 Aug 2019 17:26:56 +0200 Subject: [PATCH] Fix #99 (always skipped tests) --- tests/BootstrapsTenancyTest.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/BootstrapsTenancyTest.php b/tests/BootstrapsTenancyTest.php index 1f21b858..f20170bb 100644 --- a/tests/BootstrapsTenancyTest.php +++ b/tests/BootstrapsTenancyTest.php @@ -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);