aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-14 14:02:03 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-02 21:13:09 +0200
commitdca555b7f34b305062b213f41ca83933b4602c7e (patch)
tree212e9442c00b3006ac56e56daf8b1c11ae59a320 /tests
parent6a40dce138cc91a1a2b3dc51572ddb2babf70301 (diff)
downloadnextcloud-server-dca555b7f34b305062b213f41ca83933b4602c7e.tar.gz
nextcloud-server-dca555b7f34b305062b213f41ca83933b4602c7e.zip
Adds security section to the admin page
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Settings/ManagerTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php
index 2122c8b3750..e6acafe9b88 100644
--- a/tests/lib/Settings/ManagerTest.php
+++ b/tests/lib/Settings/ManagerTest.php
@@ -159,6 +159,7 @@ class ManagerTest extends TestCase {
$this->assertEquals([
0 => [new Section('server', 'Server settings', 0, '1')],
5 => [new Section('sharing', 'Sharing', 0, '2')],
+ 10 => [new Section('security', 'Security', 0)],
45 => [new Section('encryption', 'Encryption', 0, '3')],
90 => [\OC::$server->query(\OCA\WorkflowEngine\Settings\Section::class)],
98 => [new Section('additional', 'Additional settings', 0, '4')],
@@ -190,6 +191,7 @@ class ManagerTest extends TestCase {
$this->assertEquals([
0 => [new Section('server', 'Server settings', 0, '1')],
5 => [new Section('sharing', 'Sharing', 0, '2')],
+ 10 => [new Section('security', 'Security', 0)],
45 => [new Section('encryption', 'Encryption', 0, '3')],
98 => [new Section('additional', 'Additional settings', 0, '4')],
99 => [new Section('tips-tricks', 'Tips & tricks', 0, '5')],