1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 12:54:05 +00:00

Add missing \

This commit is contained in:
Samuel Štancl 2019-09-19 20:48:37 +02:00
parent f0dd99f099
commit 8f2beb2d2e
4 changed files with 3 additions and 4 deletions

View file

@ -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()));
}
}

View file

@ -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);

View file

@ -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);