diff --git a/webapp/pages/post/_id/_slug/index.spec.js b/webapp/pages/post/_id/_slug/index.spec.js index 4528e64ee..5340770ab 100644 --- a/webapp/pages/post/_id/_slug/index.spec.js +++ b/webapp/pages/post/_id/_slug/index.spec.js @@ -19,6 +19,7 @@ describe('PostSlug', () => { post: { id: '1', author, + postType: ['Article'], comments: [ { id: 'comment134', @@ -111,6 +112,7 @@ describe('PostSlug', () => { id: '1', author: null, comments: [], + postType: ['Article'], }, ready: true, } diff --git a/webapp/storybook/helpers.js b/webapp/storybook/helpers.js index e53e1d554..bc42d5ac7 100644 --- a/webapp/storybook/helpers.js +++ b/webapp/storybook/helpers.js @@ -82,6 +82,7 @@ const helpers = { commentsCount: faker.random.number(), clickedCount: faker.random.number(), viewedTeaserCount: faker.random.number(), + postType: ['Article'], } }) },