For me I fixed this error in my tests by running php artisan config:clear
. When config was cached even with the line in phpunit.xml my test env was local so it nuked my local database. Here is the relevant Laracasts thread.
For me I fixed this error in my tests by running php artisan config:clear
. When config was cached even with the line in phpunit.xml my test env was local so it nuked my local database. Here is the relevant Laracasts thread.
Engineer, writer and community organizer. I built Employbl to help candidates get jobs in the Bay Area: https://employbl.com/
Engineer, writer and community organizer. I built Employbl to help candidates get jobs in the Bay Area: https://employbl.com/