From aefd696dc7e0f1ca65cd78c4e113bffbf1677fbb Mon Sep 17 00:00:00 2001 From: Hannes Heine Date: Mon, 25 Jul 2022 11:38:36 +0200 Subject: [PATCH] Update frontend/src/pages/Community.spec.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Wolfgang Huß --- frontend/src/pages/Community.spec.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js index 917fa0222..7a778293b 100644 --- a/frontend/src/pages/Community.spec.js +++ b/frontend/src/pages/Community.spec.js @@ -304,9 +304,7 @@ describe('Community', () => { deleteContribution: true, }, }) - await wrapper - .findComponent({ name: 'ContributionForm' }) - .vm.$emit('delete-contribution', 2) + contributionListComponent.vm.$emit('delete-contribution', { id: 2 }) }) it('calls the API', () => {