diff --git a/frontend/src/pages/Settings.spec.js b/frontend/src/pages/Settings.spec.js index fef51edcc..8b67df7fd 100644 --- a/frontend/src/pages/Settings.spec.js +++ b/frontend/src/pages/Settings.spec.js @@ -22,12 +22,17 @@ describe('Settings', () => { email: 'john.doe@test.com', language: 'en', newsletterState: false, + gmsAllowed: false, + humhubAllowed: false, }, commit: storeCommitMock, }, $apollo: { mutate: mockAPIcall, }, + $route: { + params: {}, + }, } const Wrapper = () => { @@ -42,7 +47,7 @@ describe('Settings', () => { it('has a user change language form', () => { expect(wrapper.findComponent({ name: 'LanguageSwitch' }).exists()).toBeTruthy() }) - + it('has a user change password form', () => { expect(wrapper.findComponent({ name: 'UserPassword' }).exists()).toBeTruthy() })