diff --git a/tests/Bootstrappers/DatabaseTenancyBootstrapperTest.php b/tests/Bootstrappers/DatabaseTenancyBootstrapperTest.php index 042590f1..3030b8ed 100644 --- a/tests/Bootstrappers/DatabaseTenancyBootstrapperTest.php +++ b/tests/Bootstrappers/DatabaseTenancyBootstrapperTest.php @@ -42,7 +42,7 @@ test('harden prevents tenants from using the central database', function () { $tenant = Tenant::create(); $tenant->update([ - 'tenancy_db_name' => 'main', // Central database name + 'tenancy_db_name' => config('database.connections.central.database'), // Central database name ]); // Harden blocks initialization for tenants that use central database