summaryrefslogtreecommitdiffstats
path: root/tests/bl/ItemBlTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bl/ItemBlTest.php')
-rw-r--r--tests/bl/ItemBlTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/bl/ItemBlTest.php b/tests/bl/ItemBlTest.php
index dcc208705..225435b7d 100644
--- a/tests/bl/ItemBlTest.php
+++ b/tests/bl/ItemBlTest.php
@@ -230,12 +230,15 @@ class ItemBlTest extends \OCA\AppFramework\Utility\TestUtility {
public function testReadFeed(){
$feedId = 3;
+ $highestItemId = 6;
$this->mapper->expects($this->once())
->method('readFeed')
- ->with($this->equalTo($feedId), $this->equalTo($this->user));
+ ->with($this->equalTo($feedId),
+ $this->equalTo($highestItemId),
+ $this->equalTo($this->user));
- $this->bl->readFeed($feedId, $this->user);
+ $this->bl->readFeed($feedId, $highestItemId, $this->user);
}
}