mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge branch '1798-feature-gradidoid-1-adapt-and-migrate-database-schema' of github.com:gradido/gradido into 1798-feature-gradidoid-1-adapt-and-migrate-database-schema
This commit is contained in:
commit
969d6d0fbe
@ -1498,7 +1498,7 @@ describe('AdminResolver', () => {
|
||||
})
|
||||
|
||||
// In the futrue this should not throw anymore
|
||||
it('and throws an error for the second confirmation', async () => {
|
||||
it('throws an error for the second confirmation', async () => {
|
||||
const r1 = mutate({
|
||||
mutation: confirmContribution,
|
||||
variables: {
|
||||
|
||||
@ -214,8 +214,7 @@ describe('UserResolver', () => {
|
||||
mutation: createUser,
|
||||
variables: { ...variables, email: 'bibi@bloxberg.de', language: 'it' },
|
||||
})
|
||||
await expect(User.find({ relations: ['emailContact'] })).resolves.toEqual(
|
||||
expect.arrayContaining([
|
||||
await expect(User.find({ relations: ['emailContact'] })).resolves.toContain(
|
||||
expect.objectContaining({
|
||||
emailContact: expect.objectContaining({
|
||||
email: 'bibi@bloxberg.de',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user