mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix webapp tests
This commit is contained in:
parent
51e1b496d4
commit
4f078e4b24
@ -12,6 +12,7 @@ describe('OrderByFilter', () => {
|
||||
}
|
||||
const getters = {
|
||||
'posts/filteredPostTypes': () => [],
|
||||
'posts/orderedByCreationDate': () => true,
|
||||
'posts/orderBy': () => 'createdAt_desc',
|
||||
}
|
||||
|
||||
|
||||
@ -29,6 +29,9 @@ describe('PostIndex', () => {
|
||||
getters: {
|
||||
'posts/filter': () => ({}),
|
||||
'posts/filteredPostTypes': () => [],
|
||||
'posts/articleSetInPostTypeFilter': () => false,
|
||||
'posts/eventSetInPostTypeFilter': () => false,
|
||||
'posts/eventsEnded': () => '',
|
||||
'posts/orderBy': () => 'createdAt_desc',
|
||||
'auth/user': () => {
|
||||
return { id: 'u23' }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user