mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update backend/src/graphql/resolver/UserResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
62446bd2f0
commit
b0781bce88
@ -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