Closed morrislaptop closed 1 year ago
The readme is according to the latest changes of the dev-main
branch. We are moving to a state that does not need any traits on the models and making this package a dev-only
one.
@imanghafoori1 is this public? Can I test it out?
just install the dev-main
version.
When installing deps in a production environment, the dev dependencies are often not included (e..g Heroku)
However to use this package we need to include the trait in the models which is in our production code.
Ironically, most tests will still pass because the test deps are included when running tests...
But when running on prod, if the dev dependencies aren't included, then this causes an exception saying
Trait "Imanghafoori\EloquentMockery\MockableModel" not found