Skip to content
Snippets Groups Projects
Commit a0a14dd7 authored by Victor Löfgren's avatar Victor Löfgren
Browse files

Merge branch 'dev' of gitlab.liu.se:tddd96-grupp11/teknikattan-scoring-system into dev

parents d810a47c 4db3eeee
No related branches found
No related tags found
No related merge requests found
Pipeline #44741 passed
......@@ -54,7 +54,7 @@ it('dispatches correct action when logging out from competition', async () => {
return Promise.resolve({ data: {} })
})
const store = mockStore({})
await logoutCompetition()(store.dispatch)
await logoutCompetition('Judge')(store.dispatch)
expect(store.getActions()).toEqual([{ type: Types.SET_COMPETITION_LOGIN_UNAUTHENTICATED }])
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment