diff --git a/frontend/src/views/camp/__tests__/Dashboard.spec.js b/frontend/src/views/camp/__tests__/Dashboard.spec.js index d6a5feb8f1..e98272b576 100644 --- a/frontend/src/views/camp/__tests__/Dashboard.spec.js +++ b/frontend/src/views/camp/__tests__/Dashboard.spec.js @@ -38,6 +38,13 @@ const AUTH = { function createCampWithRole(role) { return () => ({ campCollaborations: () => ({ + _meta: { + self: '/campCollaborations?camp=%2Fapi%2Fcamps%2F6973c230d6b1', + load: Promise.resolve({ + allItems: [], + }), + loading: false, + }, items: [ { role: role, @@ -46,6 +53,42 @@ function createCampWithRole(role) { }, ], }), + categories: () => ({ + _meta: { + self: '/categories?camp=%2Fapi%2Fcamps%2F6973c230d6b1', + load: Promise.resolve({ + allItems: [], + }), + loading: false, + }, + }), + periods: () => ({ + _meta: { + self: '/periods?camp=%2Fapi%2Fcamps%2F6973c230d6b1', + load: Promise.resolve({ + allItems: [], + }), + loading: false, + }, + }), + progressLabels: () => ({ + _meta: { + self: '/progressLabels?camp=%2Fapi%2Fcamps%2F6973c230d6b1', + load: Promise.resolve({ + allItems: [], + }), + loading: false, + }, + }), + activities: () => ({ + _meta: { + self: '/activities?camp=%2Fapi%2Fcamps%2F6973c230d6b1', + load: Promise.resolve({ + allItems: [], + }), + loading: false, + }, + }), }) }