Ver Fonte

[TESTS] : fix error with Oracle (related to ZF-7706 correction)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21098 44c647ce-9c0f-0410-b52a-842ac1e357ba
mikaelkael há 16 anos atrás
pai
commit
98ef167df6
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      tests/Zend/Db/Statement/TestCommon.php

+ 2 - 1
tests/Zend/Db/Statement/TestCommon.php

@@ -864,7 +864,8 @@ abstract class Zend_Db_Statement_TestCommon extends Zend_Db_TestSetup
      */
     public function testStatementCanReturnDriverStatement()
     {
-        $statement = $this->_db->query('SELECT * FROM zfproducts');
+        $products = $this->_db->quoteIdentifier('zfproducts');
+        $statement = $this->_db->query("SELECT * FROM $products");
         $this->assertNotNull($statement->getDriverStatement());
         return $statement;
     }