Skip to content
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

Laravel module improve seeFormErrorMessage method #2432

Closed
janhenkgerritsen opened this issue Oct 6, 2015 · 0 comments
Closed

Laravel module improve seeFormErrorMessage method #2432

janhenkgerritsen opened this issue Oct 6, 2015 · 0 comments
Assignees

Comments

@janhenkgerritsen
Copy link
Contributor

@janhenkgerritsen janhenkgerritsen commented Oct 6, 2015

The seeFormErrorMessage method currently requires you to pass in the exact error message you expect. This method can be improved by making the error message optional, and when you do not pass an error message the method should only check if there is an error for the specified key.

Maybe also change the matching, it should not require an error message that exactly matches the actual error message, but only a part of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.