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:
My issue, trying to call domain service providers in the boot using a request on a console operation. That was a fun few hours....
Jump to solution
1 Reply
Solution
Matthew
Matthew2mo ago
My issue, trying to call domain service providers in the boot using a request on a console operation. That was a fun few hours.

Did you find this page helpful?