respect-validation/tests
Henrique Moody 71ecea32e6
Make getMessages() return the names or ids as keys
This method change the behavior of "getMessages()" by changin the keys
of its return to the "id" of the specific exception that was triggered.

It also allows users to overwrite the templates by passing an array to
it.

This is being requested by many users for a long time. It took that long
because I was thinking too much about how to improve the old method
called "findMesssage()" that I didn't realize that it could be done in a
easier way with the "getMessages()".

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-05-28 08:38:30 +02:00
..
fixtures Create "Image" rule 2015-12-14 10:14:26 -02:00
integration Make getMessages() return the names or ids as keys 2018-05-28 08:38:30 +02:00
library Refactor ValidationException 2018-05-27 16:12:05 +02:00
unit Refactor ValidationException 2018-05-27 16:12:05 +02:00