diff --git a/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php b/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
index 10d56e2..23d733a 100644
--- a/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
+++ b/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
@@ -150,6 +150,21 @@ public function testShortcutLinkDelete() {
     // Get the front page to check that no exceptions occur.
     $this->drupalGet('');
   }
+   public function testShortcutLinkDeleteNoConfirmation() {
+    $set = $this->set;
+
+    $shortcuts = $set->getShortcuts();
+    $shortcut = reset($shortcuts);
+    $this->drupalPostForm('admin/config/user-interface/shortcut/link/' . $shortcut->id() . '/delete', array(), 'Delete');
+    $saved_set = shortcut_set_load($set->id());
+    $ids = $this->getShortcutInformation($saved_set, 'id');
+    $this->assertTrue(in_array($shortcut->id(), $ids), 'This action cannot be undone.');
+    // Delete all the remaining shortcut links.
+    entity_delete_multiple('shortcut', array_filter($ids));
+
+    // Get the front page to check that no exceptions occur.
+    $this->drupalGet('');
+  }
 
   /**
    * Tests that the add shortcut link is not displayed for 404/403 errors.
