-
Notifications
You must be signed in to change notification settings - Fork 461
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
Function with enum argument causes error #1198
Comments
Looking a little more this is the errored code: public function call(\SimpleEnum $enum = SimpleEnum){ It is missing |
murrant
added a commit
to murrant/mockery
that referenced
this issue
Nov 13, 2022
murrant
added a commit
to murrant/mockery
that referenced
this issue
Nov 15, 2022
fixes mockery#1198 Add tests (add assertions to other test complaining about them too)
murrant
added a commit
to murrant/mockery
that referenced
this issue
Nov 15, 2022
fixes mockery#1198 Add tests (add assertions to other test complaining about them too)
ghostwriter
pushed a commit
to murrant/mockery
that referenced
this issue
Apr 22, 2023
fixes mockery#1198 Add tests (add assertions to other test complaining about them too)
ghostwriter
pushed a commit
to murrant/mockery
that referenced
this issue
Apr 22, 2023
fixes mockery#1198 Add tests (add assertions to other test complaining about them too)
ghostwriter
pushed a commit
to murrant/mockery
that referenced
this issue
Apr 22, 2023
fixes mockery#1198 Add tests (add assertions to other test complaining about them too)
Resolved via #1199 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling the function on the mock results in an unexpected Undefined Constant error.
Calling normally works as expected.
The text was updated successfully, but these errors were encountered: