From 2ebf4d516f536d9a960f85737cb21349e5b4ac8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 27 Feb 2019 17:30:25 +0100 Subject: [PATCH] wip --- tests/CommandsTest.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index a52f1663..fcdac6ad 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -43,16 +43,6 @@ class CommandsTest extends TestCase /** @test */ public function migrate_command_works_with_tenants_option() { - // connection is sqlite - dump(Schema::getConnection()->getName()); - - tenancy()->init('localhost'); // reconnect the DB - - // connection should be tenant at this point. is still sqlite - dump(Schema::getConnection()->getName()); - // if you remove line 47, connection will be tenant at this point - dd('stop'); - $tenant = tenant()->create('test.localhost'); Artisan::call('tenants:migrate', [ '--tenants' => [$tenant['uuid']]