summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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);
}