mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:44:04 +00:00
update test name
This commit is contained in:
parent
14720c28a2
commit
a0acf1a20d
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ test('you can define the connection template array in template_tenant_connection
|
||||||
expect($manager->database()->getConfig('host'))->toBe('mysql2');
|
expect($manager->database()->getConfig('host'))->toBe('mysql2');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('template tenant connection value can be partial database config', function () {
|
test('you can define the partial connection template array in template_tenant_connection and it will be completed by merging into the central connection', function () {
|
||||||
Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {
|
Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {
|
||||||
return $event->tenant;
|
return $event->tenant;
|
||||||
})->toListener());
|
})->toListener());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue