diff --git a/core/modules/shortcut/tests/src/Functional/ShortcutBlockTest.php b/core/modules/shortcut/tests/src/Functional/ShortcutBlockTest.php index c3758cb..66aae44 100644 --- a/core/modules/shortcut/tests/src/Functional/ShortcutBlockTest.php +++ b/core/modules/shortcut/tests/src/Functional/ShortcutBlockTest.php @@ -40,7 +40,7 @@ public function testShortcutBlock() { $shortcut = $shortcut_storage->create([ 'title' => $this->randomString(), - 'link' => ['uri' => 'internal:/admin/structure/block'], + 'link' => 'internal:/admin/structure/block', 'shortcut_set' => 'default', ]); $shortcut_storage->save($shortcut); diff --git a/core/modules/system/src/Tests/System/TrustedHostsTest.php b/core/modules/system/src/Tests/System/TrustedHostsTest.php index 4851ccb..feaaef5 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' => ['uri' => 'internal:/admin/reports/status'], + 'link' => 'internal:/admin/reports/status', 'shortcut_set' => 'default', ]); $shortcut_storage->save($shortcut);