Open bellwood opened 6 years ago
When unit testing a Laravel project, do you have a solution for setting the source IP so that middleware can remain enabled?
Adding the following to the middleware resolves this issue:
if (App::environment('testing')) { return $next($request); }
When unit testing a Laravel project, do you have a solution for setting the source IP so that middleware can remain enabled?