[BUGFIX] Doctrine: Provide table name to lastInsertId()
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Category / Collection / CategoryCollectionTest.php
index d410b9f..eafa47b 100644 (file)
@@ -359,7 +359,7 @@ class CategoryCollectionTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase
         ];
 
         $connection->insert('sys_category', $values);
-        $this->categoryUid = $connection->lastInsertId();
+        $this->categoryUid = $connection->lastInsertId('sys_category');
     }
 
     /**