Is Filament resetting the DB connection? (causing test issues)
I'm confused...my PHPunit tests, where it was utilising a dedicated testing database worked fine on a project that I installed Filament over the top of.
Now, although the testing database is configured in PHPunit, and this is where is starts off...as soon as it accesses a route it bounces back to the default database (from env).
It is like somewhere there is a reset of the database connection.
Is this happening ?
Solution:Jump to solution
My issue, trying to call domain service providers in the boot using a request on a console operation.
That was a fun few hours....
1 Reply
Solution
My issue, trying to call domain service providers in the boot using a request on a console operation.
That was a fun few hours.