eeeeeendlich hat ers geschluckt... grrrrrrrr

This commit is contained in:
Claus-Peter Huebner 2023-07-07 19:03:28 +02:00
parent abd59b8ad7
commit 301fa1b702
2 changed files with 17 additions and 19 deletions

View File

@ -71,7 +71,6 @@ export class UserAdmin {
}
}
@ObjectType()
export class SearchUsersResult {
@Field(() => Int)

View File

@ -1006,25 +1006,24 @@ describe('UserResolver', () => {
userId: user[0].id,
},
}),
).resolves.toEqual(
expect.objectContaining({
data: {
userContact: {
id: expect.any(Number),
type: UserContactType.USER_CONTACT_EMAIL,
userId: user[0].id,
email: 'bibi@bloxberg.de',
emailOptInTypeId: expect.any(Number),
emailResendCount: expect.any(Number),
emailChecked: expect.any(Boolean),
phone: null,
createdAt: expect.any(Date),
updatedAt: expect.any(Date),
deletedAt: null,
},
).resolves.toMatchObject({
// expect.objectContaining({
data: {
userContact: {
id: expect.any(Number),
type: UserContactType.USER_CONTACT_EMAIL,
userId: user[0].id,
email: 'bibi@bloxberg.de',
emailOptInTypeId: expect.any(Number),
emailResendCount: expect.any(Number),
emailChecked: expect.any(Boolean),
phone: null,
createdAt: expect.any(String),
updatedAt: expect.any(String),
deletedAt: null,
},
}),
)
},
})
})
})
})