mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user