This commit is contained in:
thinkphp
2016-03-06 22:41:47 +08:00
parent d5870ddb59
commit ae0df81c42
2 changed files with 2 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
// +----------------------------------------------------------------------
/**
* 模型类测试
* Validate类测试
*/
namespace tests\thinkphp\library\think;
@@ -119,7 +119,6 @@ class validateTest extends \PHPUnit_Framework_TestCase
'password' => ['md5', 'callback'],
'nickname' => [[ & $this, 'fillName'], 'callback', 'cn_'],
'phone' => function ($value, $data) {
echo $value;
return trim($value);
},
'ab' => ['a,b', 'serialize'],