This commit is contained in:
einhornimmond 2024-05-03 12:58:46 +02:00
parent 8e4176eb27
commit bc11311d42

View File

@ -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()
})