diff --git a/apps/updatenotification/lib/Notification/BackgroundJob.php b/apps/updatenotification/lib/Notification/BackgroundJob.php index 29a7671de5c7a81304dc66c0057f364ef5c60ca9..3a1aa5e0f16358f12a5900827b0721ea0bd99c40 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 2bf700b4e9261fc6bbe75dcf8ee4a07697672af8..911b1cc8e2f0e9d19c89978c41ec70e3a606ea45 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())