Adjust updatenotification app settings section/priority

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-04-19 20:10:29 +02:00
parent 35cb529df3
commit ea8e80c20b
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
2 changed files with 4 additions and 4 deletions

View file

@ -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;
}
}

View file

@ -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());
}
}