summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 21:51:50 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 21:51:50 +0100
commitc4a40d8269b272bf263a4f24ca9a61d5828752e4 (patch)
tree37eb10e0fa22d0cd0e0c2809997b78ea5cad8465 /tests
parent6e1386093d40901732a60f65a10971c1d91494ed (diff)
fix #948
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/controller/PageControllerTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/controller/PageControllerTest.php b/tests/unit/controller/PageControllerTest.php
index 282b02857..5a0b3d0e8 100644
--- a/tests/unit/controller/PageControllerTest.php
+++ b/tests/unit/controller/PageControllerTest.php
@@ -240,31 +240,31 @@ class PageControllerTest extends \PHPUnit_Framework_TestCase {
->with($this->equalTo($this->user),
$this->equalTo($this->appName),
$this->equalTo('showAll'),
- $this->equalTo(true));
+ $this->equalTo('1'));
$this->settings->expects($this->at(1))
->method('setUserValue')
->with($this->equalTo($this->user),
$this->equalTo($this->appName),
$this->equalTo('compact'),
- $this->equalTo(true));
+ $this->equalTo('1'));
$this->settings->expects($this->at(2))
->method('setUserValue')
->with($this->equalTo($this->user),
$this->equalTo($this->appName),
$this->equalTo('preventReadOnScroll'),
- $this->equalTo(false));
+ $this->equalTo('0'));
$this->settings->expects($this->at(3))
->method('setUserValue')
->with($this->equalTo($this->user),
$this->equalTo($this->appName),
$this->equalTo('oldestFirst'),
- $this->equalTo(true));
+ $this->equalTo('1'));
$this->settings->expects($this->at(4))
->method('setUserValue')
->with($this->equalTo($this->user),
$this->equalTo($this->appName),
$this->equalTo('compactExpand'),
- $this->equalTo(true));
+ $this->equalTo('1'));
$this->controller->updateSettings(true, true, false, true, true);
}