summaryrefslogtreecommitdiffstats
path: root/tests/controller/UserSettingsControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controller/UserSettingsControllerTest.php')
-rw-r--r--tests/controller/UserSettingsControllerTest.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/controller/UserSettingsControllerTest.php b/tests/controller/UserSettingsControllerTest.php
index 6754d0c7a..971912c6b 100644
--- a/tests/controller/UserSettingsControllerTest.php
+++ b/tests/controller/UserSettingsControllerTest.php
@@ -76,9 +76,6 @@ class UserSettingsControllerTest extends ControllerTestUtility {
public function testShow(){
$this->api->expects($this->once())
- ->method('getUserId')
- ->will($this->returnValue($this->user));
- $this->api->expects($this->once())
->method('setUserValue')
->with($this->equalTo('showAll'),
$this->equalTo(true));
@@ -88,9 +85,6 @@ class UserSettingsControllerTest extends ControllerTestUtility {
public function testHide(){
$this->api->expects($this->once())
- ->method('getUserId')
- ->will($this->returnValue($this->user));
- $this->api->expects($this->once())
->method('setUserValue')
->with($this->equalTo('showAll'),
$this->equalTo(false));
@@ -103,9 +97,6 @@ class UserSettingsControllerTest extends ControllerTestUtility {
'showAll' => true
);
$this->api->expects($this->once())
- ->method('getUserId')
- ->will($this->returnValue($this->user));
- $this->api->expects($this->once())
->method('getUserValue')
->with($this->equalTo('showAll'))
->will($this->returnValue('1'));