diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-08-02 10:26:09 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-08-02 10:26:09 +0200 |
commit | 0dd519cff180d93d62c06b30b2706b2413c2895c (patch) | |
tree | 9e938eb484ea73eb1649b01bc5a37c9ccf727400 | |
parent | b46b7d7591b4f76f234e8514c23e46f67c590a0b (diff) | |
download | nextcloud-server-0dd519cff180d93d62c06b30b2706b2413c2895c.tar.gz nextcloud-server-0dd519cff180d93d62c06b30b2706b2413c2895c.zip |
Fix encryption admin section tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | apps/encryption/tests/Settings/AdminTest.php | 4 | ||||
-rw-r--r-- | tests/lib/Settings/Admin/EncryptionTest.php | 4 |
2 files changed, 4 insertions, 4 deletions
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()); } } diff --git a/tests/lib/Settings/Admin/EncryptionTest.php b/tests/lib/Settings/Admin/EncryptionTest.php index 41196a9bc41..9be2a3f46d9 100644 --- a/tests/lib/Settings/Admin/EncryptionTest.php +++ b/tests/lib/Settings/Admin/EncryptionTest.php @@ -129,10 +129,10 @@ class EncryptionTest extends TestCase { } public function testGetSection() { - $this->assertSame('encryption', $this->admin->getSection()); + $this->assertSame('security', $this->admin->getSection()); } public function testGetPriority() { - $this->assertSame(0, $this->admin->getPriority()); + $this->assertSame(10, $this->admin->getPriority()); } } |