更新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() public function getConfig()
{ {
$config = [ $config = [
'connection' => [
'type' => 'mysql', 'type' => 'mysql',
'database' => 'test', 'database' => 'test',
'username' => 'root', 'username' => 'root',
'password' => '', 'password' => '',
],
]; ];
return $config; return $config;
} }