summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/db/ItemMapperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/db/ItemMapperTest.php b/tests/unit/db/ItemMapperTest.php
index f46533c58..01bc84664 100644
--- a/tests/unit/db/ItemMapperTest.php
+++ b/tests/unit/db/ItemMapperTest.php
@@ -348,8 +348,8 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility {
$this->api->expects($this->at(1))
->method('prepareQuery')
- ->with($this->equalTo($sql2))
- ->will(($this->returnValue($query2)));
+ ->with($this->equalTo($sql2), $this->equalTo(1))
+ ->will($this->returnValue($query2));
$result = $this->mapper->deleteReadOlderThanThreshold($threshold);
}