From dee17d002d87667f7d0f4478e1f0180135618c38 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 16 Apr 2013 15:19:05 +0200 Subject: dont show unread count when it is 0, dont bold read feeds, implemented autopaging --- tests/unit/controller/ItemControllerTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/unit/controller/ItemControllerTest.php') 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)); -- cgit v1.2.3