From 8f2beb2d2ea6c8bc13f1c42a97450fd5dd925137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 19 Sep 2019 20:48:37 +0200 Subject: [PATCH] Add missing \ --- src/Facades/TenantFacade.php | 1 - tests/QueueTest.php | 2 +- tests/ReidentificationTest.php | 2 +- tests/TenancyBootstrappersTest.php | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Facades/TenantFacade.php b/src/Facades/TenantFacade.php index 86a36039..06f783d4 100644 --- a/src/Facades/TenantFacade.php +++ b/src/Facades/TenantFacade.php @@ -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); diff --git a/tests/QueueTest.php b/tests/QueueTest.php index 036349b2..a8290791 100644 --- a/tests/QueueTest.php +++ b/tests/QueueTest.php @@ -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())); } } diff --git a/tests/ReidentificationTest.php b/tests/ReidentificationTest.php index c5bbacc5..6d54edae 100644 --- a/tests/ReidentificationTest.php +++ b/tests/ReidentificationTest.php @@ -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); diff --git a/tests/TenancyBootstrappersTest.php b/tests/TenancyBootstrappersTest.php index 720fc9ad..df18128d 100644 --- a/tests/TenancyBootstrappersTest.php +++ b/tests/TenancyBootstrappersTest.php @@ -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);