public function testStatementExecuteWithParams() { $products = $this->_db->quoteIdentifier('zfproducts'); // Make IDENTITY column accept explicit value. // This can be done in only one table in a given session. $this->_db->getConnection()->exec("SET IDENTITY_INSERT {$products} ON"); parent::testStatementExecuteWithParams(); }
/** * @group ZF-7706 */ public function testStatementCanReturnDriverStatement() { $statement = parent::testStatementCanReturnDriverStatement(); $this->assertTrue($statement->getDriverStatement() instanceof PDOStatement); }
/** * @group ZF-7706 */ public function testStatementCanReturnDriverStatement() { $statement = parent::testStatementCanReturnDriverStatement(); $this->assertType('PDOStatement', $statement->getDriverStatement()); }