1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:04:03 +00:00
This commit is contained in:
Samuel Štancl 2019-08-15 23:57:54 +02:00
parent 3036980ea2
commit 71e1c170bb

View file

@ -37,6 +37,13 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
} }
} }
protected function tearDown(): void
{
config(['database.default' => 'central']);
parent::tearDown();
}
public function createTenant($domain = 'localhost') public function createTenant($domain = 'localhost')
{ {
tenant()->create($domain); tenant()->create($domain);