Update frontend/src/components/Contributions/ContributionList.spec.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
This commit is contained in:
Hannes Heine 2022-07-25 11:36:38 +02:00 committed by GitHub
parent 4d926ec498
commit 635f90abc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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