mirror of
https://github.com/archtechx/tenancy.git
synced 2026-09-20 13:34:04 +00:00
add assertion to ensure the two paths are the same
This commit is contained in:
parent
9bfc9c4dca
commit
d783879f98
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ test('tenant assets are served even when the suffix_storage_path config is set t
|
||||||
$tenant = Tenant::create();
|
$tenant = Tenant::create();
|
||||||
tenancy()->initialize($tenant);
|
tenancy()->initialize($tenant);
|
||||||
|
|
||||||
|
expect(storage_path())->toBe($centralStoragePath);
|
||||||
|
|
||||||
$filename = 'testfile' . Str::random(8);
|
$filename = 'testfile' . Str::random(8);
|
||||||
Storage::disk('public')->put($filename, 'bar');
|
Storage::disk('public')->put($filename, 'bar');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue