Commit Graph

54 Commits

Author SHA1 Message Date
Qiang Xue
a8068dfe5c fixed test break. 2014-01-11 10:54:43 -05:00
Qiang Xue
b23bade285 fixed test break. 2014-01-08 21:57:24 -05:00
Qiang Xue
35f8823249 fixed test break. 2014-01-08 21:34:20 -05:00
Qiang Xue
c67c929696 Fixed test break. 2014-01-08 21:23:12 -05:00
Qiang Xue
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
Qiang Xue
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
Qiang Xue
bce353bf3a fixed test break. 2013-12-06 14:32:59 -05:00
Qiang Xue
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
Qiang Xue
bb6b75e794 fixed exception check in test. 2013-11-27 23:07:15 -05:00
Carsten Brandt
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
Carsten Brandt
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
Carsten Brandt
8dab87be3d fixed EmailValidator IDN and full pattern support
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
slavcodev
9bf7f791b8 Fix test 2013-11-12 17:53:24 +02:00
slavcodev
35681c618b Fix test 2013-11-12 17:24:35 +02:00
slavcodev
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
Alexander Mohorev
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
Qiang Xue
9f7ca5d222 Merge pull request #1051 from cebe/validator-message-format
Validator message format
2013-10-23 16:49:08 -07:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Alexander Makarov
c127171efb Fixes #1003: DateValidator returned true for invalid dates 2013-10-24 02:31:05 +04:00
Carsten Brandt
3631890cba fixed failing validator tests 2013-10-24 00:00:32 +02:00
Carsten Brandt
cfc57c20f0 Allow ITU message format in validator messages
fixes #991
2013-10-23 20:25:38 +02:00
Alexander Makarov
005c006b69 typo fix 2013-10-18 21:01:34 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Carsten Brandt
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +02:00
Alexander Makarov
32865c7ddc Updated FileValidator tests 2013-10-15 01:48:05 +04:00
Alexander Makarov
8c1c3c59d9 Better AR connection init in tests 2013-10-15 01:39:19 +04:00
Alexander Makarov
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
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Suralc
06682d0ba9 coverage improvements 2013-08-24 00:31:01 +02:00
Suralc
c189e5ad3f UniqueValidator test. 2013-08-24 00:05:27 +02:00
Suralc
24e2f88503 Renamed validator test models to be less specific. 2013-08-23 22:47:45 +02:00
Suralc
7d5bb082ac FilterValidator test 2013-08-23 22:33:39 +02:00
Suralc
3b07e4affc Added FileValidator tests. 2013-08-23 17:24:56 +02:00
Suralc
3469b2cb60 RangeValidator tests. 2013-08-22 16:12:09 +02:00
Suralc
0c45765e7d Added tests for uncovered lines. 2013-08-18 14:39:22 +02:00
Suralc
5c8927af7d Added ExistValidatorTest and added new option to DatabaseTestCase 2013-08-17 00:40:45 +02:00
Suralc
8e48f01c85 Add RegularExpressionValidatorTest 2013-08-14 21:20:20 +02:00
Suralc
bae79cd76c Added ValidatorTest 2013-08-13 19:01:53 +02:00
Suralc
d9f87f4045 Added RequiredValidatorTest 2013-08-13 16:49:53 +02:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Suralc
a81480d309 Improved ValidatorTest organization. 2013-08-06 19:56:05 +02:00
Suralc
b5472c20e3 Typo fix 2013-08-06 15:21:29 +02:00
Suralc
8f8de7cf60 Added NumberValidatorTest 2013-08-06 13:13:58 +02:00
Suralc
f7bb54be1c Test fix for Php 5.3 2013-07-31 23:03:34 +02:00
Suralc
467d88faf9 Added StringValidatorTest 2013-07-31 22:48:19 +02:00
Suralc
1ce7344e18 Additional tests in EmailValidator. 2013-07-31 21:14:14 +02:00
Suralc
777ff792c4 DateValidatorTest 2013-07-31 20:12:45 +02:00
Suralc
1c6b64e717 Added CompareValidatorTest and improved BooleanValidatorTest and UrlValidatorTest 2013-07-31 19:42:20 +02:00
Suralc
fc1d2af36c UrlValidator Tests 2013-07-29 16:21:07 +02:00
Suralc
09c5e61462 fix test 2013-07-29 15:25:05 +02:00