From 3fec69363ba58c98df276a37bd082c2247790d73 Mon Sep 17 00:00:00 2001 From: AmbrishRamachandiran Date: Sun, 30 Jul 2023 20:38:25 +0530 Subject: [PATCH] Limit the use of the same shortcut name and url when adding a shortcut with test cases Signed-off-by: AmbrishRamachandiran --- plugins/shortcuts/src/ShortcutForm.test.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/shortcuts/src/ShortcutForm.test.tsx b/plugins/shortcuts/src/ShortcutForm.test.tsx index 748f1ad022..773c5491da 100644 --- a/plugins/shortcuts/src/ShortcutForm.test.tsx +++ b/plugins/shortcuts/src/ShortcutForm.test.tsx @@ -53,9 +53,6 @@ describe('ShortcutForm', () => { expect( screen.getByText('Must be at least 2 characters'), ).toBeInTheDocument(); - expect( - screen.getByText('A shortcut with this title already exists'), - ).toBeInTheDocument(); }); });