1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00

Fix tests

This commit is contained in:
Samuel Štancl 2019-08-23 13:04:45 +02:00
parent 965f67c747
commit 31bf8c9de8

View file

@ -43,7 +43,7 @@ class Install extends Command
);
$newKernel = \str_replace("protected \$middleware = [", "protected \$middleware = [
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,", $newKernel);
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,", $newKernel);
\file_put_contents(app_path('Http/Kernel.php'), $newKernel);
$this->info('✔️ Set middleware priority');