/** * @covers Zend\Db\Adapter\Platform\Sql92::quoteValue */ public function testQuoteValue() { $this->assertEquals("'value'", $this->platform->quoteValue('value')); }
/** * @covers Zend\Db\Adapter\Platform\Sql92::quoteValue */ public function testQuoteValue() { $this->setExpectedException('PHPUnit_Framework_Error', 'Attempting to quote a value without specific driver level support can introduce security vulnerabilities in a production environment.'); $this->assertEquals("'value'", $this->platform->quoteValue('value')); }