mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
Test the if \Redis is wrong for Travis
This commit is contained in:
parent
0c8cf2cd46
commit
e5393cc52c
1 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Tests;
|
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
|
class TestCase extends \Orchestra\Testbench\TestCase
|
||||||
{
|
{
|
||||||
|
|
@ -15,7 +15,9 @@ class TestCase extends \Orchestra\Testbench\TestCase
|
||||||
{
|
{
|
||||||
parent::setUp();
|
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');
|
tenant()->create('phpunit.localhost');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue