mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 20:54:03 +00:00
Fix tests
This commit is contained in:
commit
5f24a76809
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue