-
Notifications
You must be signed in to change notification settings - Fork 873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use fluent interface when defining mocks #458
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use the ::class
directive, instead of passing the classnames as strings? We do not support 5.3 in 1.x anymore :)
Thanks!
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thanks!
... but you need to check, that the interfaces complies with the method signatures :/ |
Should I fix the typos in this PR? |
Yeah, please. I want to avoid merging something where tests are failing. |
Done! Now only |
Thank you. :) |
As suggested in #455, let's fix the tests step by step. First:
Mocks
. This fix testsCall to undefined method getMock()
.