samedi 24 février 2018

Phpunit tests in laravel - make on null

I have several phpunit tests in my project. When fire them all in once - there is no problem - I got green. However, when I fire single test, like so phpunit --filter AuthTest tests/Feature/AuthTest.php. I get an error:

Error: Call to a member function make() on null
/Users/dummy/web/dummy/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:105

Aucun commentaire:

Enregistrer un commentaire