diff --git a/tests/TestCase.php b/tests/TestCase.php index 9918be45..9a526411 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,7 +2,7 @@ namespace Stancl\Tenancy\Tests; -use Illuminate\Support\Facades\Redis as LaravelRedis; // https://travis-ci.com/stancl/tenancy/jobs/174861107#L615 +use Illuminate\Support\Facades\Redis; class TestCase extends \Orchestra\Testbench\TestCase { @@ -15,7 +15,9 @@ class TestCase extends \Orchestra\Testbench\TestCase { parent::setUp(); - LaravelRedis::connection('tenancy')->flushdb(); + $this->assertSame('Redis', \Redis::class); // (travis test) todo remove this line + + Redis::connection('tenancy')->flushdb(); tenant()->create('phpunit.localhost');