Fix webapp tests

This commit is contained in:
Wolfgang Huß 2023-06-02 10:08:55 +02:00
parent 51e1b496d4
commit 4f078e4b24
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ describe('OrderByFilter', () => {
}
const getters = {
'posts/filteredPostTypes': () => [],
'posts/orderedByCreationDate': () => true,
'posts/orderBy': () => 'createdAt_desc',
}

View File

@ -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' }