1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 21:24:04 +00:00

Try to fix Call to undef. method Redis::connect()

This commit is contained in:
Samuel Štancl 2019-02-02 12:28:21 +01:00
parent be8968b832
commit 0ca435262b
3 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,7 @@
namespace Stancl\Tenancy\Tests;
use Illuminate\Support\Facades\Redis;
use Illuminate\Support\Facades\Redis as LaravelRedis; // https://travis-ci.com/stancl/tenancy/jobs/174861107#L615
class TestCase extends \Orchestra\Testbench\TestCase
{
@ -15,7 +15,7 @@ class TestCase extends \Orchestra\Testbench\TestCase
{
parent::setUp();
Redis::connection('tenancy')->flushdb();
LaravelRedis::connection('tenancy')->flushdb();
tenant()->create('phpunit.localhost');