Exemple #1
0
 /**
  * @covers Zend\Db\Adapter\Platform\Sql92::quoteValue
  */
 public function testQuoteValue()
 {
     $this->assertEquals("'value'", $this->platform->quoteValue('value'));
 }
Exemple #2
0
 /**
  * @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'));
 }