From 635f90abc8b4a04f3820595185cef8a841929c96 Mon Sep 17 00:00:00 2001 From: Hannes Heine Date: Mon, 25 Jul 2022 11:36:38 +0200 Subject: [PATCH] Update frontend/src/components/Contributions/ContributionList.spec.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Wolfgang Huß --- frontend/src/components/Contributions/ContributionList.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Contributions/ContributionList.spec.js b/frontend/src/components/Contributions/ContributionList.spec.js index 1c189b3af..d49f80372 100644 --- a/frontend/src/components/Contributions/ContributionList.spec.js +++ b/frontend/src/components/Contributions/ContributionList.spec.js @@ -107,7 +107,7 @@ describe('ContributionList', () => { describe('delete contribution', () => { beforeEach(() => { - wrapper.findComponent({ name: 'ContributionListItem' }).vm.$emit('delete-contribution', 2) + wrapper.findComponent({ name: 'ContributionListItem' }).vm.$emit('delete-contribution', { id: 2 }) }) it('emits delete contribution', () => {