Skip to content

Commit

Permalink
Fix index-test.php
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 26, 2020
1 parent 08d3533 commit 7e3c7fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions config/web/yiisoft-web.php
Expand Up @@ -3,7 +3,6 @@
declare(strict_types=1);

use App\Handler\NotFound;
use Yiisoft\Csrf\CsrfMiddleware;
use Yiisoft\ErrorHandler\ErrorCatcher;
use Yiisoft\Factory\Definitions\Reference;
use Yiisoft\Injector\Injector;
Expand All @@ -20,7 +19,6 @@
->withMiddlewares(
[
Router::class,
CsrfMiddleware::class,
SessionMiddleware::class,
ErrorCatcher::class,
]
Expand Down
4 changes: 2 additions & 2 deletions public/index-test.php
Expand Up @@ -47,8 +47,8 @@
$errorHandler->register();

$container = new Container(
require Builder::path('web'),
require Builder::path('providers')
require Builder::path('tests/web'),
require Builder::path('tests/providers')
);

/**
Expand Down

0 comments on commit 7e3c7fb

Please sign in to comment.