Update frontend/src/pages/Community.spec.js

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

View File

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