mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:14:03 +00:00
Restructure config
This commit is contained in:
parent
15a7e52208
commit
fbe43fbb04
10 changed files with 57 additions and 47 deletions
|
|
@ -21,7 +21,7 @@ class DatabasePreparationTest extends TestCase
|
|||
/** @test */
|
||||
public function database_can_be_created_after_tenant_creation()
|
||||
{
|
||||
config(['tenancy.template_tenant_connection' => 'mysql']);
|
||||
config(['tenancy.database.template_tenant_connection' => 'mysql']);
|
||||
|
||||
Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {
|
||||
return $event->tenant;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue