mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正单元测试
This commit is contained in:
@@ -104,19 +104,6 @@ class validateTest extends \PHPUnit_Framework_TestCase
|
||||
]);
|
||||
}
|
||||
|
||||
public function testConfig()
|
||||
{
|
||||
$validate = new Validate();
|
||||
$validate->config('value_validate', ['name', 'age', 'email']);
|
||||
$validate->config([
|
||||
'value_validate' => ['name', 'age', 'email'],
|
||||
'exists_validate' => ['zip'],
|
||||
'scene' => [
|
||||
'edit' => ['name', 'age', 'email'],
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
public function testMake()
|
||||
{
|
||||
$rule = [
|
||||
|
||||
Reference in New Issue
Block a user