mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:34:04 +00:00
Update TenantDatabaseManagerTest.php
This commit is contained in:
parent
d536f545ec
commit
5ffc9abfe0
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 config can be both connection name or connection array', function () {
|
test('template tenant connection value can be connection name or connection array', 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