mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修改单元测试
This commit is contained in:
@@ -51,11 +51,6 @@ class loaderTest extends \PHPUnit_Framework_TestCase
|
|||||||
Loader::db('mysql://root@127.0.0.1/test#utf8');
|
Loader::db('mysql://root@127.0.0.1/test#utf8');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testInstance()
|
|
||||||
{
|
|
||||||
Loader::instance('\think\Validate');
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testImport()
|
public function testImport()
|
||||||
{
|
{
|
||||||
$this->assertEquals(true, Loader::import('think.log.driver.Sae'));
|
$this->assertEquals(true, Loader::import('think.log.driver.Sae'));
|
||||||
|
|||||||
Reference in New Issue
Block a user