1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-08-06 06:54:03 +00:00

simplify code

This commit is contained in:
Samuel Stancl 2026-08-03 23:45:10 -07:00
parent 6b6279832e
commit 0765bfc757
No known key found for this signature in database
GPG key ID: BA146259A1E16C57
2 changed files with 32 additions and 79 deletions

View file

@ -500,7 +500,7 @@ test('a cache store without a configured lock_path is scoped without error', fun
});
test('a cache store using a path not based on storage_path() is suffixed in place, not moved under the tenant storage path', function () {
// $path below doesn't start with the central storage path, so scopeCachePath() has no storage
// $path below doesn't start with the central storage path, so tenantCachePath() has no storage
// path prefix to swap for the tenant's -- it appends the tenant suffix directly to $path instead.
// Check that tenant isolation still works for a store configured like this, and that its cache
// ends up at $path itself, not under the tenant's storage path.