From 4fef755cafc620fff28995bca93b00184a90b69d Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 9 May 2019 14:43:56 +0200 Subject: [PATCH] removed invalid test case --- webapp/components/Password/Change.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/components/Password/Change.spec.js b/webapp/components/Password/Change.spec.js index 7ba773e25..4aa3fb8f4 100644 --- a/webapp/components/Password/Change.spec.js +++ b/webapp/components/Password/Change.spec.js @@ -140,7 +140,8 @@ describe('ChangePassword.vue', () => { }) }) - describe('mutation rejects', () => { + // TODO This is not a valid testcase - we have to decide if we catch the same password on clientside + /* describe('mutation rejects', () => { beforeEach(async () => { await wrapper.find('input#oldPassword').setValue('supersecret') await wrapper.find('input#newPassword').setValue('supersecret') @@ -153,7 +154,7 @@ describe('ChangePassword.vue', () => { expect(mocks.$toast.error).toHaveBeenCalledWith('Ouch!') }) - }) + }) */ }) }) })