remove more email

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

View File

@ -12,14 +12,6 @@ describe('UserCard_FormUserMail', () => {
const mocks = {
$t: jest.fn((t) => t),
$store: {
state: {
email: 'user@example.org',
firstName: 'Peter',
lastName: 'Lustig',
description: '',
},
},
$apollo: {
mutate: mockAPIcall,
},
@ -75,7 +67,6 @@ describe('UserCard_FormUserMail', () => {
expect(mockAPIcall).toHaveBeenCalledWith(
expect.objectContaining({
variables: {
email: 'user@example.org',
newEmail: 'test@example.org',
},
}),
@ -104,7 +95,6 @@ describe('UserCard_FormUserMail', () => {
expect(mockAPIcall).toHaveBeenCalledWith(
expect.objectContaining({
variables: {
email: 'user@example.org',
newEmail: 'test@example.org',
},
}),

View File

@ -24,10 +24,6 @@ describe('UserCard_FormUsername', () => {
const mocks = {
$t: jest.fn((t) => t),
$store: {
state: {
email: 'user@example.org',
username: '',
},
commit: storeCommitMock,
},
$toasted: {
@ -109,7 +105,6 @@ describe('UserCard_FormUsername', () => {
expect(mockAPIcall).toHaveBeenCalledWith(
expect.objectContaining({
variables: {
email: 'user@example.org',
username: 'username',
},
}),
@ -148,7 +143,6 @@ describe('UserCard_FormUsername', () => {
expect(mockAPIcall).toHaveBeenCalledWith(
expect.objectContaining({
variables: {
email: 'user@example.org',
username: 'username',
},
}),

View File

@ -21,10 +21,6 @@ describe('UserCard_Language', () => {
const mocks = {
$t: jest.fn((t) => t),
$store: {
state: {
language: 'de',
email: 'peter@lustig.de',
},
commit: storeCommitMock,
},
$toasted: {
@ -127,7 +123,6 @@ describe('UserCard_Language', () => {
expect(mockAPIcall).toBeCalledWith(
expect.objectContaining({
variables: {
email: 'peter@lustig.de',
locale: 'en',
},
}),