Limit the use of the same shortcut name and url when adding a shortcut with test case error message removed

Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
This commit is contained in:
AmbrishRamachandiran
2023-07-31 11:44:53 +05:30
parent 433288347d
commit b5321414b2
@@ -53,12 +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();
expect(
screen.getByText('A shortcut with this url already exists'),
).toBeInTheDocument();
});
});