mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix test
This commit is contained in:
parent
8e4176eb27
commit
bc11311d42
@ -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()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user