Fix test of post edit.

Co-authored-by: maeckes-infinitylabs<markus@infinity.labs.ooo>
This commit is contained in:
elweyn 2023-05-31 12:32:48 +02:00
parent 1ca274fad4
commit e18fa0cea0

View File

@ -29,7 +29,10 @@ describe('post/_id.vue', () => {
defaultClient: {
query: jest.fn().mockResolvedValue({
data: {
Post: [{ author: { id: authorId } }],
Post: [{
author: { id: authorId },
postType: ['Article'],
}],
},
}),
},