From ffe7668184b12bcfcbd9d6d5dfae388d21bd732e Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 11 May 2017 18:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/thinkphp/library/think/dbTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/thinkphp/library/think/dbTest.php b/tests/thinkphp/library/think/dbTest.php index 515f9424..5724ee21 100644 --- a/tests/thinkphp/library/think/dbTest.php +++ b/tests/thinkphp/library/think/dbTest.php @@ -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()