Explorar el Código

Provide table and PK name to make test compatible with RDBMS using sequences

(cherry picked from commit d452916a43f80a94edfa16da6178e3e1ba79e677)
Ondřej Machulda hace 12 años
padre
commit
4f7338efd2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/Zend/Db/Table/TestCommon.php

+ 1 - 1
tests/Zend/Db/Table/TestCommon.php

@@ -693,7 +693,7 @@ abstract class Zend_Db_Table_TestCommon extends Zend_Db_Table_TestSetup
             'verified_by'     => 'dduck'
         );
         $insertResult = $table->insert($row);
-        $lastInsertId = $this->_db->lastInsertId();
+        $lastInsertId = $this->_db->lastInsertId('zfbugs', 'bug_id');
         $this->assertEquals($insertResult, $lastInsertId);
         $this->assertEquals(5, $lastInsertId);
     }