Explorar o código

ZF-6771
- Fix for failing drop of pgsql tests

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15669 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph %!s(int64=17) %!d(string=hai) anos
pai
achega
bf153344fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Zend/Db/TestUtil/Pdo/Pgsql.php

+ 1 - 1
tests/Zend/Db/TestUtil/Pdo/Pgsql.php

@@ -119,7 +119,7 @@ class Zend_Db_TestUtil_Pdo_Pgsql extends Zend_Db_TestUtil_Pdo_Common
             . $this->_db->quoteInto(' WHERE relkind = \'r\' AND relname = ?', $tableName)
             . $this->_db->quoteInto(' WHERE relkind = \'r\' AND relname = ?', $tableName)
         );
         );
         if (in_array($tableName, $tableList)) {
         if (in_array($tableName, $tableList)) {
-            return 'DROP TABLE ' . $this->_db->quoteIdentifier($tableName);
+            return 'DROP TABLE ' . $this->_db->quoteIdentifier($tableName) . ' CASCADE';
         }
         }
         return null;
         return null;
     }
     }