diff --git a/core/modules/system/src/Tests/System/TrustedHostsTest.php b/core/modules/system/src/Tests/System/TrustedHostsTest.php index e54decc..d0daf12 100644 --- a/core/modules/system/src/Tests/System/TrustedHostsTest.php +++ b/core/modules/system/src/Tests/System/TrustedHostsTest.php @@ -97,7 +97,7 @@ public function testShortcut() { $shortcut = $shortcut_storage->create([ 'title' => $this->randomString(), - 'link' => 'internal:/admin/reports/status', + 'link' => ['uri' => 'internal:/admin/reports/status'], 'shortcut_set' => 'default', ]); $shortcut_storage->save($shortcut);