mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Add missing \
This commit is contained in:
parent
f0dd99f099
commit
8f2beb2d2e
4 changed files with 3 additions and 4 deletions
|
|
@ -14,7 +14,6 @@ class TenantFacade extends Facade
|
|||
return Tenant::class;
|
||||
}
|
||||
|
||||
// todo2 test this
|
||||
public static function create($domains, array $data): Tenant
|
||||
{
|
||||
return Tenant::create($domains, $data);
|
||||
|
|
|
|||
|
|
@ -56,6 +56,6 @@ class TestJob implements ShouldQueue
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
logger(json_encode(DB::table('users')->get()));
|
||||
logger(json_encode(\DB::table('users')->get()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class ReidentificationTest extends TestCase
|
|||
|
||||
foreach (config('tenancy.filesystem.disks') as $disk) {
|
||||
$suffix = config('tenancy.filesystem.suffix_base') . tenant('id');
|
||||
$current_path_prefix = Storage::disk($disk)->getAdapter()->getPathPrefix();
|
||||
$current_path_prefix = \Storage::disk($disk)->getAdapter()->getPathPrefix();
|
||||
|
||||
if ($override = config("tenancy.filesystem.root_override.{$disk}")) {
|
||||
$correct_path_prefix = str_replace('%storage_path%', storage_path(), $override);
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class TenancyBootstrappersTest extends TestCase
|
|||
|
||||
foreach (config('tenancy.filesystem.disks') as $disk) {
|
||||
$suffix = config('tenancy.filesystem.suffix_base') . tenant('id');
|
||||
$current_path_prefix = Storage::disk($disk)->getAdapter()->getPathPrefix();
|
||||
$current_path_prefix = \Storage::disk($disk)->getAdapter()->getPathPrefix();
|
||||
|
||||
if ($override = config("tenancy.filesystem.root_override.{$disk}")) {
|
||||
$correct_path_prefix = str_replace('%storage_path%', storage_path(), $override);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue