magic-test/magic-test-laravel

Unclear instructions

sardar1592 opened this issue · 3 comments

Below the line:

Then, add the following line to your $middleware array under app/Http/Kernel.php:

There is nothing in the docs on github.

The following code was probably accidentally removed in the latest commit:

\MagicTest\MagicTest\Middleware\MagicTestMiddleware::class

Seems like they inject it with:

$this->app['router']->pushMiddlewareToGroup('web', MagicTestMiddleware::class);

So this isn't necessary anymore.

You're correct. It no longer requires you to add a middleware :-)