From 59e7f8c0d21878aefeaae2fda5ca8a8ed2eead07 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 22 May 2023 17:12:32 +0200 Subject: [PATCH] fix post teaser unit tests and linting --- webapp/components/ContributionForm/ContributionForm.vue | 2 +- webapp/components/PostTeaser/PostTeaser.spec.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 584e3597a..51efbc6a4 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -287,7 +287,7 @@ export default { eventVenue: this.formData.eventVenue, eventEnd: this.formData.eventEnd, eventIsOnline: this.formData.eventIsOnline, - eventLocationName: this.formData.eventLocationName + eventLocationName: this.formData.eventLocationName, } } return undefined diff --git a/webapp/components/PostTeaser/PostTeaser.spec.js b/webapp/components/PostTeaser/PostTeaser.spec.js index 7791c62f0..5ccad48bc 100644 --- a/webapp/components/PostTeaser/PostTeaser.spec.js +++ b/webapp/components/PostTeaser/PostTeaser.spec.js @@ -28,6 +28,7 @@ describe('PostTeaser', () => { author: { id: 'u1', }, + postType: 'Article', }, } stubs = {