summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-20 15:12:08 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-20 15:12:08 +0200
commitafe9467f17147f63148cb0b8cb918bb3c2d724d7 (patch)
tree71a5fb4902525b5aa10c50e169c92296af188f20 /tests
parent381f8efd1096001f34810414c1054a00a64179c8 (diff)
also test for limit parameter
Diffstat (limited to 'tests')
-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);
}