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