mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:54:05 +00:00
Update tests/TenantDatabaseManagerTest.php
Co-authored-by: lukinovec <lukinovec@gmail.com>
This commit is contained in:
parent
bc27a93eda
commit
14720c28a2
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ test('path used by sqlite manager can be customized', function () {
|
||||||
expect(file_exists($customPath . '/' . $name))->toBeTrue();
|
expect(file_exists($customPath . '/' . $name))->toBeTrue();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('template tenant connection value can be connection name or connection array', function () {
|
test('you can define the connection template array in template_tenant_connection or use a name of an existing connection template', 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