Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-08-02 21:23:21 +0300
committerGitHub <noreply@github.com>2018-08-02 21:23:21 +0300
commit01298cfa72105802533a2f0757c45a50c6d9bc67 (patch)
tree8928e01a103d88d039597dd7816cc1618ccc7b83 /apps/encryption
parent9057621d64589d1a45040e9dfbf87dd908e9acbb (diff)
parent84f99db7ab96746b9dc3fa662c136912c34274eb (diff)
Merge pull request #10480 from nextcloud/bugfix/10420/settings
Settings design polishing
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/Settings/Admin.php4
-rw-r--r--apps/encryption/tests/Settings/AdminTest.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/encryption/lib/Settings/Admin.php b/apps/encryption/lib/Settings/Admin.php
index 2faa118e2a2..7ada315e233 100644
--- a/apps/encryption/lib/Settings/Admin.php
+++ b/apps/encryption/lib/Settings/Admin.php
@@ -110,7 +110,7 @@ class Admin implements ISettings {
* @return string the section ID, e.g. 'sharing'
*/
public function getSection() {
- return 'encryption';
+ return 'security';
}
/**
@@ -121,7 +121,7 @@ class Admin implements ISettings {
* E.g.: 70
*/
public function getPriority() {
- return 5;
+ return 11;
}
}
diff --git a/apps/encryption/tests/Settings/AdminTest.php b/apps/encryption/tests/Settings/AdminTest.php
index 9afc024dfc8..54b3187a97e 100644
--- a/apps/encryption/tests/Settings/AdminTest.php
+++ b/apps/encryption/tests/Settings/AdminTest.php
@@ -92,10 +92,10 @@ class AdminTest extends TestCase {
}
public function testGetSection() {
- $this->assertSame('encryption', $this->admin->getSection());
+ $this->assertSame('security', $this->admin->getSection());
}
public function testGetPriority() {
- $this->assertSame(5, $this->admin->getPriority());
+ $this->assertSame(11, $this->admin->getPriority());
}
}