5.1 phpunit tests fail without middleware

Posted 4 years ago by ArthurGuy

I am working with the phpunit testing framework as part of 5.1, in the docs it talks about using the WithoutMiddleware trait to disable middleware, unfortunately as soon as I do this all my tests fail as everything seems to rely on the StartSession middleware.

Has anyone else been able to disable middleware and keep their tests running?

Thanks

Please sign in or create an account to participate in this conversation.