mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 16:12:49 +08:00
更新modelTest类数据库连接信息
This commit is contained in:
@@ -22,10 +22,12 @@ class modelTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function getConfig()
|
public function getConfig()
|
||||||
{
|
{
|
||||||
$config = [
|
$config = [
|
||||||
'type' => 'mysql',
|
'connection' => [
|
||||||
'database' => 'test',
|
'type' => 'mysql',
|
||||||
'username' => 'root',
|
'database' => 'test',
|
||||||
'password' => '',
|
'username' => 'root',
|
||||||
|
'password' => '',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
return $config;
|
return $config;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user