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', () => {