diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Repair/CleanTagsTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Repair/CleanTagsTest.php b/tests/lib/Repair/CleanTagsTest.php index 80c0b2c9770..11430cc1215 100644 --- a/tests/lib/Repair/CleanTagsTest.php +++ b/tests/lib/Repair/CleanTagsTest.php @@ -142,7 +142,7 @@ class CleanTagsTest extends \Test\TestCase { ]) ->execute(); - return (int) $this->getLastInsertID('vcategory', 'id'); + return $qb->getLastInsertId(); } /** @@ -191,7 +191,7 @@ class CleanTagsTest extends \Test\TestCase { ]) ->execute(); - $this->createdFile = (int) $this->getLastInsertID('filecache', 'fileid'); + $this->createdFile = $qb->getLastInsertId(); return $this->createdFile; } } |