50 Commits

Author SHA1 Message Date
9649a6727a Renamed attributeName and className to targetAttribute and targetClass for UniqueValidator and ExistValidator.
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
bce353bf3a fixed test break. 2013-12-06 14:32:59 -05:00
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
bb6b75e794 fixed exception check in test. 2013-11-27 23:07:15 -05:00
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
8dab87be3d fixed EmailValidator IDN and full pattern support
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
9bf7f791b8 Fix test 2013-11-12 17:53:24 +02:00
35681c618b Fix test 2013-11-12 17:24:35 +02:00
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
9f7ca5d222 Merge pull request #1051 from cebe/validator-message-format
Validator message format
2013-10-23 16:49:08 -07:00
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
c127171efb Fixes #1003: DateValidator returned true for invalid dates 2013-10-24 02:31:05 +04:00
3631890cba fixed failing validator tests 2013-10-24 00:00:32 +02:00
cfc57c20f0 Allow ITU message format in validator messages
fixes #991
2013-10-23 20:25:38 +02:00
005c006b69 typo fix 2013-10-18 21:01:34 +04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +02:00
32865c7ddc Updated FileValidator tests 2013-10-15 01:48:05 +04:00
8c1c3c59d9 Better AR connection init in tests 2013-10-15 01:39:19 +04:00
d75ad87e06 Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
Conflicts:
	framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
06682d0ba9 coverage improvements 2013-08-24 00:31:01 +02:00
c189e5ad3f UniqueValidator test. 2013-08-24 00:05:27 +02:00
24e2f88503 Renamed validator test models to be less specific. 2013-08-23 22:47:45 +02:00
7d5bb082ac FilterValidator test 2013-08-23 22:33:39 +02:00
3b07e4affc Added FileValidator tests. 2013-08-23 17:24:56 +02:00
3469b2cb60 RangeValidator tests. 2013-08-22 16:12:09 +02:00
0c45765e7d Added tests for uncovered lines. 2013-08-18 14:39:22 +02:00
5c8927af7d Added ExistValidatorTest and added new option to DatabaseTestCase 2013-08-17 00:40:45 +02:00
8e48f01c85 Add RegularExpressionValidatorTest 2013-08-14 21:20:20 +02:00
bae79cd76c Added ValidatorTest 2013-08-13 19:01:53 +02:00
d9f87f4045 Added RequiredValidatorTest 2013-08-13 16:49:53 +02:00
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
a81480d309 Improved ValidatorTest organization. 2013-08-06 19:56:05 +02:00
b5472c20e3 Typo fix 2013-08-06 15:21:29 +02:00
8f8de7cf60 Added NumberValidatorTest 2013-08-06 13:13:58 +02:00
f7bb54be1c Test fix for Php 5.3 2013-07-31 23:03:34 +02:00
467d88faf9 Added StringValidatorTest 2013-07-31 22:48:19 +02:00
1ce7344e18 Additional tests in EmailValidator. 2013-07-31 21:14:14 +02:00
777ff792c4 DateValidatorTest 2013-07-31 20:12:45 +02:00
1c6b64e717 Added CompareValidatorTest and improved BooleanValidatorTest and UrlValidatorTest 2013-07-31 19:42:20 +02:00
fc1d2af36c UrlValidator Tests 2013-07-29 16:21:07 +02:00
09c5e61462 fix test 2013-07-29 15:25:05 +02:00
cde97847f4 BooleanValidatorTest 2013-07-29 15:15:33 +02:00
b1c67b86a9 Fixed test break. 2013-07-28 17:27:16 -04:00
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
3bb73e54f9 more tests 2013-02-25 03:20:55 +04:00