Laravel module improve seeFormErrorMessage method #2432

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

Comments

Projects
None yet
1 participant
@janhenkgerritsen
Contributor

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