1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:14:03 +00:00

Update TenantDatabaseManagerTest.php

This commit is contained in:
Abrar Ahmad 2022-12-29 15:19:03 +05:00
parent d536f545ec
commit 5ffc9abfe0

View file

@ -390,7 +390,7 @@ test('path used by sqlite manager can be customized', function () {
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) {
return $event->tenant;
})->toListener());