diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-04 12:49:55 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-04 12:49:55 +0200 |
commit | db57190e33f632f9da2e07eae9f610934b9f9282 (patch) | |
tree | ef2c8d0df813c2c24662a18161ffd0e7b71c840a | |
parent | b74c12c3f5719a168c00c66eb822741f4f8fff5f (diff) | |
download | nextcloud-server-db57190e33f632f9da2e07eae9f610934b9f9282.tar.gz nextcloud-server-db57190e33f632f9da2e07eae9f610934b9f9282.zip |
Use new URL schema
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/updatenotification/lib/Notification/BackgroundJob.php | 2 | ||||
-rw-r--r-- | apps/updatenotification/tests/Notification/BackgroundJobTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/lib/Notification/BackgroundJob.php b/apps/updatenotification/lib/Notification/BackgroundJob.php index 29a7671de5c..3a1aa5e0f16 100644 --- a/apps/updatenotification/lib/Notification/BackgroundJob.php +++ b/apps/updatenotification/lib/Notification/BackgroundJob.php @@ -98,7 +98,7 @@ class BackgroundJob extends TimedJob { $status = $updater->check(); if (isset($status['version'])) { - $url = $this->urlGenerator->linkToRouteAbsolute('settings_admin') . '#updater'; + $url = $this->urlGenerator->linkToRouteAbsolute('settings.AdminSettings.index') . '#updater'; $this->createNotifications('core', $status['version'], $url, $status['versionstring']); } } diff --git a/apps/updatenotification/tests/Notification/BackgroundJobTest.php b/apps/updatenotification/tests/Notification/BackgroundJobTest.php index 2bf700b4e92..911b1cc8e2f 100644 --- a/apps/updatenotification/tests/Notification/BackgroundJobTest.php +++ b/apps/updatenotification/tests/Notification/BackgroundJobTest.php @@ -168,7 +168,7 @@ class BackgroundJobTest extends TestCase { } else { $this->urlGenerator->expects($this->once()) ->method('linkToRouteAbsolute') - ->with('settings_admin') + ->with('settings.AdminSettings.index') ->willReturn('admin-url'); $job->expects($this->once()) |