aboutsummaryrefslogtreecommitdiffstats
path: root/tests/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-05-15 22:39:17 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-05-15 22:39:17 +0200
commit257ee205bb2398a430849181436083eed428ca77 (patch)
tree48d4e6151a250e3a66808ead24b7573e65f5f55c /tests/settings
parent2cafbc803a6e09432bcdea7010543ed968ad5abf (diff)
parent9727386d8b343b9ab2db7604cee012e359c2c9ad (diff)
downloadnextcloud-server-257ee205bb2398a430849181436083eed428ca77.tar.gz
nextcloud-server-257ee205bb2398a430849181436083eed428ca77.zip
Merge pull request #15978 from owncloud/feature/fix-encryption-tooltips
[enc2]fixing recovery tooltip
Diffstat (limited to 'tests/settings')
-rw-r--r--tests/settings/controller/userscontrollertest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/settings/controller/userscontrollertest.php b/tests/settings/controller/userscontrollertest.php
index b9d45d786ec..e70b235f603 100644
--- a/tests/settings/controller/userscontrollertest.php
+++ b/tests/settings/controller/userscontrollertest.php
@@ -1303,14 +1303,14 @@ class UsersControllerTest extends \Test\TestCase {
->expects($this->once())
->method('isEnabledForUser')
->with(
- $this->equalTo('files_encryption')
+ $this->equalTo('encryption')
)
->will($this->returnValue(true));
$this->container['Config']
->expects($this->once())
->method('getAppValue')
->with(
- $this->equalTo('files_encryption'),
+ $this->equalTo('encryption'),
$this->equalTo('recoveryAdminEnabled'),
$this->anything()
)
@@ -1321,8 +1321,8 @@ class UsersControllerTest extends \Test\TestCase {
->method('getUserValue')
->with(
$this->anything(),
- $this->equalTo('files_encryption'),
- $this->equalTo('recovery_enabled'),
+ $this->equalTo('encryption'),
+ $this->equalTo('recoveryEnabled'),
$this->anything()
)
->will($this->returnValue('1'));
@@ -1339,7 +1339,7 @@ class UsersControllerTest extends \Test\TestCase {
$this->container['OCP\\App\\IAppManager']
->method('isEnabledForUser')
->with(
- $this->equalTo('files_encryption')
+ $this->equalTo('encryption')
)
->will($this->returnValue(true));
@@ -1358,14 +1358,14 @@ class UsersControllerTest extends \Test\TestCase {
->expects($this->once())
->method('isEnabledForUser')
->with(
- $this->equalTo('files_encryption')
+ $this->equalTo('encryption')
)
->will($this->returnValue(true));
$this->container['Config']
->expects($this->once())
->method('getAppValue')
->with(
- $this->equalTo('files_encryption'),
+ $this->equalTo('encryption'),
$this->equalTo('recoveryAdminEnabled'),
$this->anything()
)
@@ -1376,8 +1376,8 @@ class UsersControllerTest extends \Test\TestCase {
->method('getUserValue')
->with(
$this->anything(),
- $this->equalTo('files_encryption'),
- $this->equalTo('recovery_enabled'),
+ $this->equalTo('encryption'),
+ $this->equalTo('recoveryEnabled'),
$this->anything()
)
->will($this->returnValue('0'));