修正单元测试

This commit is contained in:
thinkphp
2017-05-11 18:49:30 +08:00
parent 6e721239ea
commit ffe7668184

View File

@@ -185,7 +185,7 @@ EOF;
$config = $this->getConfig();
$tableName = 'user';
$result = Db::connect($config)->name($tableName);
$this->assertEquals($config['prefix'] . $tableName, $result->getOptions()['table']);
$this->assertEquals($config['prefix'] . $tableName, $result->getTable());
}
public function testInsert()