correct testcases

This commit is contained in:
Claus-Peter Huebner 2023-08-16 12:57:24 +02:00
parent 7f15ac1c7c
commit 2bfb9fb002

View File

@ -451,25 +451,25 @@ describe('create and send Transactions to DltConnector', () => {
id: expect.any(Number),
transactionId: transactions[0].id,
messageId: '723e3fab62c5d3e2f62fd72ba4e622bcd53eff35262e3f3526327fe41bc51621',
verified: true,
verified: false,
createdAt: expect.any(Date),
verifiedAt: expect.any(Date),
verifiedAt: null,
}),
expect.objectContaining({
id: expect.any(Number),
transactionId: transactions[1].id,
messageId: '723e3fab62c5d3e2f62fd72ba4e622bcd53eff35262e3f3526327fe41bc51621',
verified: true,
verified: false,
createdAt: expect.any(Date),
verifiedAt: expect.any(Date),
verifiedAt: null,
}),
expect.objectContaining({
id: expect.any(Number),
transactionId: transactions[2].id,
messageId: '723e3fab62c5d3e2f62fd72ba4e622bcd53eff35262e3f3526327fe41bc51621',
verified: true,
verified: false,
createdAt: expect.any(Date),
verifiedAt: expect.any(Date),
verifiedAt: null,
}),
]),
)
@ -555,17 +555,17 @@ describe('create and send Transactions to DltConnector', () => {
id: expect.any(Number),
transactionId: txSEND1to2.id,
messageId: '723e3fab62c5d3e2f62fd72ba4e622bcd53eff35262e3f3526327fe41bc51621',
verified: true,
verified: false,
createdAt: expect.any(Date),
verifiedAt: expect.any(Date),
verifiedAt: null,
}),
expect.objectContaining({
id: expect.any(Number),
transactionId: txRECEIVE2From1.id,
messageId: '723e3fab62c5d3e2f62fd72ba4e622bcd53eff35262e3f3526327fe41bc51621',
verified: true,
verified: false,
createdAt: expect.any(Date),
verifiedAt: expect.any(Date),
verifiedAt: null,
}),
]),
)