summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/UserSettingsControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/UserSettingsControllerTest.php')
-rw-r--r--tests/unit/controller/UserSettingsControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/controller/UserSettingsControllerTest.php b/tests/unit/controller/UserSettingsControllerTest.php
index cdbebcf1f..0f2be1bc0 100644
--- a/tests/unit/controller/UserSettingsControllerTest.php
+++ b/tests/unit/controller/UserSettingsControllerTest.php
@@ -117,7 +117,7 @@ class UserSettingsControllerTest extends ControllerTestUtility {
->will($this->returnValue('1'));
$response = $this->controller->read();
- $this->assertEquals($result, $response->getParams());
+ $this->assertEquals($result, $response->getData());
$this->assertTrue($response instanceof JSONResponse);
}
@@ -133,7 +133,7 @@ class UserSettingsControllerTest extends ControllerTestUtility {
->will($this->returnValue($lang));
$response = $this->controller->getLanguage();
- $params = $response->getParams();
+ $params = $response->getData();
$this->assertEquals($language, $params['language']);
$this->assertTrue($response instanceof JSONResponse);
@@ -150,7 +150,7 @@ class UserSettingsControllerTest extends ControllerTestUtility {
->will($this->returnValue('1'));
$response = $this->controller->isCompactView();
- $this->assertEquals($result, $response->getParams());
+ $this->assertEquals($result, $response->getData());
$this->assertTrue($response instanceof JSONResponse);
}