改进单元测试

This commit is contained in:
thinkphp
2016-07-31 20:00:18 +08:00
parent f80f68d9aa
commit 971bc0f616

View File

@@ -61,7 +61,7 @@ class validateTest extends \PHPUnit_Framework_TestCase
'end_time' => 'before:2016-10-01',
'info' => 'require|array|length:4|max:5|min:2',
'info.name' => 'require|length:8|alpha|same:thinkphp',
'value' => 'same:100',
'value' => 'same:100|different:status',
'bool' => 'boolean',
'title' => 'chsAlpha',
'city' => 'chs',