mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正单元测试
This commit is contained in:
@@ -21,8 +21,7 @@ class dbTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
public function testConnect()
|
public function testConnect()
|
||||||
{
|
{
|
||||||
Db::connect('mysql://root@127.0.0.1/test#utf8');
|
Db::connect('mysql://root@127.0.0.1/test#utf8')->execute('show databases');
|
||||||
Db::execute('show databases');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user