summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-04-19 20:10:29 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-03 08:58:25 +0200
commitea8e80c20ba2a2f4d6547a184ccc0358fa42940c (patch)
treefdaf92134ff9e0310e83d6c47241697debb84c77 /apps/updatenotification
parent35cb529df37d33f4c74a5602a3bb9f6bd84fbe40 (diff)
downloadnextcloud-server-ea8e80c20ba2a2f4d6547a184ccc0358fa42940c.tar.gz
nextcloud-server-ea8e80c20ba2a2f4d6547a184ccc0358fa42940c.zip
Adjust updatenotification app settings section/priority
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/lib/Settings/Admin.php4
-rw-r--r--apps/updatenotification/tests/Settings/AdminTest.php4
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());
}
}