更新modelTest类数据库连接信息

This commit is contained in:
oldrind
2016-03-02 15:47:04 +08:00
parent b305bc04ef
commit 91f1137dac

View File

@@ -22,10 +22,12 @@ class modelTest extends \PHPUnit_Framework_TestCase
public function getConfig()
{
$config = [
'type' => 'mysql',
'database' => 'test',
'username' => 'root',
'password' => '',
'connection' => [
'type' => 'mysql',
'database' => 'test',
'username' => 'root',
'password' => '',
],
];
return $config;
}