From 5e0153c507d9434c5c6f6f12e379cbe8948b463e Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 13 Apr 2026 16:47:08 +0200 Subject: [PATCH] Obtain suffix base from config instead of hardcoding Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- tests/Bootstrappers/FilesystemTenancyBootstrapperTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Bootstrappers/FilesystemTenancyBootstrapperTest.php b/tests/Bootstrappers/FilesystemTenancyBootstrapperTest.php index e7749324..d0c8af59 100644 --- a/tests/Bootstrappers/FilesystemTenancyBootstrapperTest.php +++ b/tests/Bootstrappers/FilesystemTenancyBootstrapperTest.php @@ -200,7 +200,8 @@ test('tenant storage gets created when TenantCreated listens to CreateTenantStor $centralStoragePath = storage_path(); $tenant = Tenant::create(); - $tenantStoragePath = $centralStoragePath . '/tenant' . $tenant->getTenantKey(); + $suffixBase = config('tenancy.filesystem.suffix_base', 'tenant'); + $tenantStoragePath = $centralStoragePath . '/' . $suffixBase . $tenant->getTenantKey(); $this->assertDirectoryExists($tenantStoragePath . '/framework/cache'); });