mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Adjust updatenotification app settings section/priority
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
35cb529df3
commit
ea8e80c20b
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue