1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 12:34:03 +00:00

add assertion to ensure the two paths are the same

This commit is contained in:
Samuel Stancl 2026-09-08 19:43:42 -07:00
parent 9bfc9c4dca
commit d783879f98
No known key found for this signature in database
GPG key ID: BA146259A1E16C57

View file

@ -83,6 +83,8 @@ test('tenant assets are served even when the suffix_storage_path config is set t
$tenant = Tenant::create();
tenancy()->initialize($tenant);
expect(storage_path())->toBe($centralStoragePath);
$filename = 'testfile' . Str::random(8);
Storage::disk('public')->put($filename, 'bar');