mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:04:03 +00:00
uuid -> id (references in code)
This commit is contained in:
parent
a7bb709bd4
commit
79f912384b
17 changed files with 46 additions and 45 deletions
|
|
@ -25,7 +25,7 @@ class ReidentificationTest extends TestCase
|
|||
tenancy()->init('second.localhost');
|
||||
|
||||
foreach (config('tenancy.filesystem.disks') as $disk) {
|
||||
$suffix = config('tenancy.filesystem.suffix_base') . tenant('uuid');
|
||||
$suffix = config('tenancy.filesystem.suffix_base') . tenant('id');
|
||||
$current_path_prefix = \Storage::disk($disk)->getAdapter()->getPathPrefix();
|
||||
|
||||
if ($override = config("tenancy.filesystem.root_override.{$disk}")) {
|
||||
|
|
@ -51,7 +51,7 @@ class ReidentificationTest extends TestCase
|
|||
tenant()->create('second.localhost');
|
||||
tenancy()->init('second.localhost');
|
||||
|
||||
$suffix = config('tenancy.filesystem.suffix_base') . tenant('uuid');
|
||||
$suffix = config('tenancy.filesystem.suffix_base') . tenant('id');
|
||||
$this->assertSame($original . "/$suffix", storage_path());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue