respect-validation/tests/unit
Henrique Moody 2ac0aecf0c
Fix some issues with the "KeyValue" rule
There are a couple of issues with the "KeyValue" rule:

* When using it with "Not" it does not fetch the exception from the rule
  that it creates during the validation.

* It creates a "Validator" rule, which means that it creates two rules
  (Validator and the real rule) every time it validates an input.

This commit will fix these two issues and also create integration tests
that will ensure its behavior in case of change.

Co-authored-by: Danilo Correa <danilosilva87@gmail.com>
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-04-23 19:55:13 +02:00
..
Exceptions Update the Coding Standards 2019-02-17 19:52:26 +01:00
Helpers Apply "SlevomatCodingStandard.Classes.TraitUseDeclaration" 2019-02-09 14:17:35 +01:00
Rules Fix some issues with the "KeyValue" rule 2019-04-23 19:55:13 +02:00
FactoryTest.php Apply "Generic.NamingConventions.CamelCapsFunctionName" 2019-02-09 14:07:52 +01:00
ValidatorTest.php Make PHPUnit tests final 2019-02-09 14:32:12 +01:00