From f2de1f6c38751a7312804bdf16ef7ae3eee03812 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 21 Apr 2021 15:28:15 +0200 Subject: [PATCH] remove test for password rules on login --- frontend/src/views/Pages/Login.spec.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/views/Pages/Login.spec.js b/frontend/src/views/Pages/Login.spec.js index 651cc22f0..f0bb1b3b8 100644 --- a/frontend/src/views/Pages/Login.spec.js +++ b/frontend/src/views/Pages/Login.spec.js @@ -93,14 +93,6 @@ describe('Login', () => { 'The Email field must be a valid email', ) }) - - it('shows a warning when password is too short', async () => { - wrapper.find('input[placeholder="form.password"]').setValue('1234') - await flushPromises() - await expect(wrapper.find('.invalid-feedback').text()).toEqual( - 'The Password field must be at least 6 characters', - ) - }) }) // to do: test submit button