1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 05:14:03 +00:00
This commit is contained in:
Samuel Štancl 2019-02-26 22:54:00 +01:00
parent be7e64af93
commit 0b6af429de

View file

@ -54,6 +54,7 @@ class CommandsTest extends TestCase
// connection should be tenant at this point. is still sqlite // connection should be tenant at this point. is still sqlite
dump(Schema::getConnection()->getName()); dump(Schema::getConnection()->getName());
// if you remove line 47, connection will be tenant at this point // if you remove line 47, connection will be tenant at this point
dd('stop');
$this->assertFalse(Schema::hasTable('users')); $this->assertFalse(Schema::hasTable('users'));
tenancy()->init('localhost'); tenancy()->init('localhost');