mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-06 17:04:04 +00:00
Obtain suffix base from config instead of hardcoding
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
33c28405ad
commit
5e0153c507
1 changed files with 2 additions and 1 deletions
|
|
@ -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');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue