From b1f0d0a43ccef78c5271f448c4e24a11b399058f Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 1 May 2026 12:34:28 +0200 Subject: [PATCH] Get central DB from config in harden test Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- tests/Bootstrappers/DatabaseTenancyBootstrapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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