summaryrefslogtreecommitdiffstats
path: root/tests/integration/db/ItemMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/db/ItemMapperTest.php')
-rw-r--r--tests/integration/db/ItemMapperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php
index 0c24660b3..dcd101a9f 100644
--- a/tests/integration/db/ItemMapperTest.php
+++ b/tests/integration/db/ItemMapperTest.php
@@ -8,7 +8,7 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2015
*/
-
+
namespace OCA\News\Db;
use \OCA\News\Tests\Integration\NewsIntegrationTest;
@@ -183,7 +183,7 @@ class ItemMapperTest extends NewsIntegrationTest {
public function testDeleteUser () {
$this->itemMapper->deleteUser($this->userId);
- $id = $this->itemMapper->getNewestItemId();
+ $id = $this->itemMapper->getNewestItemId($this->userId);
$this->assertEquals(0, $id);
}