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

Fix tests

This commit is contained in:
Samuel Štancl 2019-08-23 13:10:42 +02:00
commit 5f24a76809

View file

@ -42,7 +42,7 @@ class Install extends Command
\file_get_contents(app_path('Http/Kernel.php'))
);
$newKernel = \str_replace("protected \$middleware = [", "protected \$middleware = [
$newKernel = \str_replace('protected $middleware = [', "protected \$middleware = [
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,", $newKernel);
\file_put_contents(app_path('Http/Kernel.php'), $newKernel);