You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error is Mockery\Exception\InvalidCountException: Method baixados(<Any Arguments>) from Mockery_2_Illuminate_Database_Eloquent_Builder should be called exactly 1 times but called 0 times.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using mockery with phpunit to do my tests. I want to test if the scopes
baixados
is called.That is the piece of code I want to test in my service
This is the piece of code of my, not working, test:
Error is
Mockery\Exception\InvalidCountException: Method baixados(<Any Arguments>) from Mockery_2_Illuminate_Database_Eloquent_Builder should be called exactly 1 times but called 0 times.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions