diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-05-07 12:29:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 12:29:53 +0200 |
commit | d161d4473edbd80272ff36991186c9b1f19204ad (patch) | |
tree | 7980d13e99942e92f04c05d5b450c6a04cac8f94 /apps/updatenotification | |
parent | 94010e91d1075c0a67380bfcc881a2564e6e0b0f (diff) | |
parent | ea8e80c20ba2a2f4d6547a184ccc0358fa42940c (diff) | |
download | nextcloud-server-d161d4473edbd80272ff36991186c9b1f19204ad.tar.gz nextcloud-server-d161d4473edbd80272ff36991186c9b1f19204ad.zip |
Merge pull request #9029 from nextcloud/settings-restructure
Restructure server settings
Diffstat (limited to 'apps/updatenotification')
-rw-r--r-- | apps/updatenotification/lib/Settings/Admin.php | 4 | ||||
-rw-r--r-- | apps/updatenotification/tests/Settings/AdminTest.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/updatenotification/lib/Settings/Admin.php b/apps/updatenotification/lib/Settings/Admin.php index 5213eb905ee..bb12402aa07 100644 --- a/apps/updatenotification/lib/Settings/Admin.php +++ b/apps/updatenotification/lib/Settings/Admin.php @@ -130,7 +130,7 @@ class Admin implements ISettings { * @return string the section ID, e.g. 'sharing' */ public function getSection(): string { - return 'server'; + return 'overview'; } /** @@ -141,6 +141,6 @@ class Admin implements ISettings { * E.g.: 70 */ public function getPriority(): int { - return 1; + return 11; } } diff --git a/apps/updatenotification/tests/Settings/AdminTest.php b/apps/updatenotification/tests/Settings/AdminTest.php index 4e2ac3a53d9..d5915a9c102 100644 --- a/apps/updatenotification/tests/Settings/AdminTest.php +++ b/apps/updatenotification/tests/Settings/AdminTest.php @@ -140,10 +140,10 @@ class AdminTest extends TestCase { public function testGetSection() { - $this->assertSame('server', $this->admin->getSection()); + $this->assertSame('overview', $this->admin->getSection()); } public function testGetPriority() { - $this->assertSame(1, $this->admin->getPriority()); + $this->assertSame(11, $this->admin->getPriority()); } } |