post page test fixed

This commit is contained in:
Moriz Wahl 2023-05-23 11:29:18 +02:00
parent e3eaaf4435
commit 60b05379d9
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ describe('PostSlug', () => {
post: { post: {
id: '1', id: '1',
author, author,
postType: ['Article'],
comments: [ comments: [
{ {
id: 'comment134', id: 'comment134',
@ -111,6 +112,7 @@ describe('PostSlug', () => {
id: '1', id: '1',
author: null, author: null,
comments: [], comments: [],
postType: ['Article'],
}, },
ready: true, ready: true,
} }

View File

@ -82,6 +82,7 @@ const helpers = {
commentsCount: faker.random.number(), commentsCount: faker.random.number(),
clickedCount: faker.random.number(), clickedCount: faker.random.number(),
viewedTeaserCount: faker.random.number(), viewedTeaserCount: faker.random.number(),
postType: ['Article'],
} }
}) })
}, },