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. sqlsrv_query($this->_db->getConnection(), "SET IDENTITY_INSERT {$products} ON"); parent::testStatementExecuteWithParams(); sqlsrv_query($this->_db->getConnection(), "SET IDENTITY_INSERT {$products} OFF"); }
/** * @group ZF-7706 */ public function testStatementCanReturnDriverStatement() { $statement = parent::testStatementCanReturnDriverStatement(); $this->assertType('mysqli_stmt', $statement->getDriverStatement()); }
/** * @group ZF-7706 */ public function testStatementCanReturnDriverStatement() { $statement = parent::testStatementCanReturnDriverStatement(); $this->assertTrue($statement->getDriverStatement() instanceof mysqli_stmt); }