How do you run the tests?
Also did you run php artisan config:clear! It would be cached somehow!
I'm working through the Laracasts series on how to build a Forum and try to apply the instructions to my own app (Laravel 5.6).
In one of the first episodes Jeffrey defines a test database as an in memory sqlite database while he manually tests in the browser using a MySQL database.
I've tried to set up my own configuration similar to his setup but whatever I do, the unit tests drop all the tables in my local database rather than using the database that is configured in either phpunit.xml, or for the 'testing' environment (a different MySQL database called 'testing').
I've tried to fix this problem, but can't figure out what's going on. Is there any way I can troubleshoot this?
How do you run the tests?
Also did you run php artisan config:clear! It would be cached somehow!
Please or to participate in this conversation.