(Fixes issue 1868)

This commit is contained in:
qiang.xue
2011-03-14 00:28:38 +00:00
parent 487cc6f600
commit dc99b7cdeb
13 changed files with 26 additions and 63 deletions

View File

@@ -72,10 +72,6 @@ class CDbConnectionTest extends CTestCase
$this->_connection->pdoInstance->exec(file_get_contents(dirname(__FILE__).'/data/sqlite.sql'));
$command=$this->_connection->createCommand($sql);
$this->assertTrue($command instanceof CDbCommand);
$this->_connection->active=false;
$this->setExpectedException('CException');
$this->_connection->createCommand($sql);
}
public function testLastInsertID()