mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 20:34:03 +00:00
wip
This commit is contained in:
parent
3036980ea2
commit
71e1c170bb
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue