修正单元测试

This commit is contained in:
thinkphp
2016-03-21 13:55:06 +08:00
parent 8e9fc3d463
commit 27f3127fbb
2 changed files with 1 additions and 33 deletions

View File

@@ -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 = [