]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use new URL schema 1619/head
authorJoas Schilling <coding@schilljs.com>
Tue, 4 Oct 2016 10:49:55 +0000 (12:49 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 4 Oct 2016 11:02:05 +0000 (13:02 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/updatenotification/lib/Notification/BackgroundJob.php
apps/updatenotification/tests/Notification/BackgroundJobTest.php

index 29a7671de5c7a81304dc66c0057f364ef5c60ca9..3a1aa5e0f16358f12a5900827b0721ea0bd99c40 100644 (file)
@@ -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']);
                }
        }
index 9e8476275627d1261b76dbe12ba7955911351dfb..02737d07ab4a52fde1b1655eee88d6da5cc072ab 100644 (file)
@@ -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())