Elvira Sheina
bfba0aa711
Refactor validateAttribute method in UniqueValidator ( #13202 )
...
* Refactor validateAttribute method in UniqueValidator
Extract prepareParams and prepareQuery from validateAttribute,
so they can be tested separately.
* Added issue number to changelog
* Eliminated unneeded variable
* Renamed methods and parameters, update PHPDocs
2016-12-15 12:23:16 +01:00
yamaha252
22b2a78a0a
Added test for unique validator with empty values
...
close #7007
2016-11-27 02:37:12 +01:00
Robert Korulczyk
4fdfbc2739
Add tests for custom message for UniqueValidator
2016-08-24 22:59:58 +02:00
Carsten Brandt
d2dd232b6f
message improvement and test for #11323
2016-07-06 14:27:50 +02:00
Carsten Brandt
86f17c8dad
added tests classes for db related tests
2016-06-20 23:07:07 +02:00
Alexander Makarov
c79ebf49f4
Merge pull request #10639 from githubjeka/test-uniqvalid
...
UniqueValidatorTest: Added test for check the invalid attribute
2016-01-22 03:14:28 +03:00
githubjeka
dabbb81e07
Added test for check the invalid attribute
2016-01-21 21:23:51 +03:00
githubjeka
3ebe092828
Reproduce bug
2016-01-21 19:35:38 +03:00
SilverFire - Dmitry Naumenko
6eb9830d64
UniqueValidatorTest, CHANGELOG - fixed spelling
2016-01-19 00:17:56 +02:00
githubjeka
a215013f68
Missing phpDoc properties has been added
2015-11-27 19:48:20 +03:00
githubjeka
0fc744598d
optimized imports & add phpDoc
2015-11-27 19:43:29 +03:00
githubjeka
fd6e33ccf3
Semantics of the test has been improved
2015-11-27 19:32:03 +03:00
githubjeka
e5e67ebed5
Add testValidateTargetClass for reproduce the bug.
...
When IDs targetClass & model(not new) is same then unique validator passed
2015-11-27 00:04:49 +03:00
Alexander Makarov
6949992246
Simplified tests directory structure a bit
2015-04-16 12:10:01 +03:00