mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
eeeeeendlich hat ers geschluckt... grrrrrrrr
This commit is contained in:
parent
abd59b8ad7
commit
301fa1b702
@ -71,7 +71,6 @@ export class UserAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ObjectType()
|
||||
export class SearchUsersResult {
|
||||
@Field(() => Int)
|
||||
|
||||
@ -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,
|
||||
},
|
||||
}),
|
||||
)
|
||||
},
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user