Use new URL schema
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
87cc0231a8
commit
875a3f4b28
|
@ -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']);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue