Elektrine lite

← Feed

@jclermont@phpc.social

2026-08-13 12:40 UTC

You pass a model to Mockery's with() and the test fails, even though your code called the service with the right model. Here's a cleaner way to match it. #php #laravel https://masteringlaravel.io/daily/2026-08-13-when-mockery-says-your-eloquent-model-doesnt-match

Replies (0)

No replies.