not all emails and not all stores can be removed ;)

This commit is contained in:
Ulf Gebhardt 2021-10-04 11:20:28 +02:00
parent d3a095fb1c
commit 9da8483b14
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
3 changed files with 14 additions and 0 deletions

View File

@ -12,6 +12,14 @@ describe('UserCard_FormUserMail', () => {
const mocks = {
$t: jest.fn((t) => t),
$store: {
state: {
email: 'user@example.org',
firstName: 'Peter',
lastName: 'Lustig',
description: '',
},
},
$apollo: {
mutate: mockAPIcall,
},

View File

@ -24,6 +24,9 @@ describe('UserCard_FormUsername', () => {
const mocks = {
$t: jest.fn((t) => t),
$store: {
state: {
username: '',
},
commit: storeCommitMock,
},
$toasted: {

View File

@ -21,6 +21,9 @@ describe('UserCard_Language', () => {
const mocks = {
$t: jest.fn((t) => t),
$store: {
state: {
language: 'de',
},
commit: storeCommitMock,
},
$toasted: {