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:
Claus-Peter Hübner 2022-09-23 01:12:24 +02:00
commit 969d6d0fbe
2 changed files with 2 additions and 3 deletions

View File

@ -1498,7 +1498,7 @@ describe('AdminResolver', () => {
}) })
// In the futrue this should not throw anymore // 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({ const r1 = mutate({
mutation: confirmContribution, mutation: confirmContribution,
variables: { variables: {

View File

@ -214,8 +214,7 @@ describe('UserResolver', () => {
mutation: createUser, mutation: createUser,
variables: { ...variables, email: 'bibi@bloxberg.de', language: 'it' }, variables: { ...variables, email: 'bibi@bloxberg.de', language: 'it' },
}) })
await expect(User.find({ relations: ['emailContact'] })).resolves.toEqual( await expect(User.find({ relations: ['emailContact'] })).resolves.toContain(
expect.arrayContaining([
expect.objectContaining({ expect.objectContaining({
emailContact: expect.objectContaining({ emailContact: expect.objectContaining({
email: 'bibi@bloxberg.de', email: 'bibi@bloxberg.de',