mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix test of post edit.
Co-authored-by: maeckes-infinitylabs<markus@infinity.labs.ooo>
This commit is contained in:
parent
1ca274fad4
commit
e18fa0cea0
@ -29,7 +29,10 @@ describe('post/_id.vue', () => {
|
||||
defaultClient: {
|
||||
query: jest.fn().mockResolvedValue({
|
||||
data: {
|
||||
Post: [{ author: { id: authorId } }],
|
||||
Post: [{
|
||||
author: { id: authorId },
|
||||
postType: ['Article'],
|
||||
}],
|
||||
},
|
||||
}),
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user