summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-16 15:19:05 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-16 15:23:12 +0200
commitdee17d002d87667f7d0f4478e1f0180135618c38 (patch)
treed71c6896bd558b28fa16af0c424b2f4d1aca768c /tests/unit/controller
parent8df6d36d49d89f3bb7186b36436606adb039b3f8 (diff)
dont show unread count when it is 0, dont bold read feeds, implemented autopaging
Diffstat (limited to 'tests/unit/controller')
-rw-r--r--tests/unit/controller/ItemControllerTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/controller/ItemControllerTest.php b/tests/unit/controller/ItemControllerTest.php
index ca72ee330..953330855 100644
--- a/tests/unit/controller/ItemControllerTest.php
+++ b/tests/unit/controller/ItemControllerTest.php
@@ -232,9 +232,8 @@ class ItemControllerTest extends ControllerTestUtility {
private function itemsApiExpects($id, $type){
$this->api->expects($this->once())
->method('getUserValue')
- ->with($this->equalTo($this->user),
- $this->equalTo('showAll'))
- ->will($this->returnValue('true'));
+ ->with($this->equalTo('showAll'))
+ ->will($this->returnValue('1'));
$this->api->expects($this->once())
->method('getUserId')
->will($this->returnValue($this->user));