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

Update TenantDatabaseManagerTest.php

This commit is contained in:
Abrar Ahmad 2022-10-20 12:45:42 +05:00
parent b95b6cadca
commit a7f559567d

View file

@ -267,7 +267,7 @@ test('tenant database can be created on a foreign server by using the host from
expect($manager->databaseExists($name))->toBeTrue();
});
test('tenant database can be created using host and credentials from the tenant config', closure: function () {
test('tenant database can be created using connection key from the tenant config for permission controller manager', function () {
config([
'tenancy.database.managers.mysql' => PermissionControlledMySQLDatabaseManager::class,
'tenancy.database.template_tenant_connection' => 'mysql',