Closed xwiz closed 4 years ago
I noticed that if I have a seeder in my phpunit boostrap that invokes Eloquent, I get a Target lada.handler not found indicating the QueryHandler was not bound. What is the best way to fix this?
lada.handler
QueryHandler
Actually any eloquent DB transaction in unit tests leads to this same issue. Laravel 6.x, Version 4.0.2
Sorry was some Kinda weird autoload issue. Fixed by adding clear-compiled from test boostrap.
clear-compiled
I noticed that if I have a seeder in my phpunit boostrap that invokes Eloquent, I get a Target
lada.handler
not found indicating theQueryHandler
was not bound. What is the best way to fix this?