mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正单元测试
This commit is contained in:
@@ -185,7 +185,7 @@ EOF;
|
|||||||
$config = $this->getConfig();
|
$config = $this->getConfig();
|
||||||
$tableName = 'user';
|
$tableName = 'user';
|
||||||
$result = Db::connect($config)->name($tableName);
|
$result = Db::connect($config)->name($tableName);
|
||||||
$this->assertEquals($config['prefix'] . $tableName, $result->getOptions()['table']);
|
$this->assertEquals($config['prefix'] . $tableName, $result->getTable());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testInsert()
|
public function testInsert()
|
||||||
|
|||||||
Reference in New Issue
Block a user