Skip to content

Commit

Permalink
Update transactionController test to accept workflowId & workstepId
Browse files Browse the repository at this point in the history
  • Loading branch information
biscuitdey committed Jul 22, 2024
1 parent 325b3d1 commit c352bdc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ describe('TransactionController', () => {
const requestDto = {
id: uuid(),
nonce: 1,
workflowInstanceId: '42',
workstepInstanceId: '24',
workflowId: '42',
workstepId: '24',
fromSubjectAccountId: fromBpiSubjectAccount.id,
toSubjectAccountId: toBpiSubjectAccount.id,
payload: 'payload1',
Expand All @@ -221,8 +221,8 @@ describe('TransactionController', () => {
const expectedTransaction = new Transaction(
requestDto.id,
requestDto.nonce,
requestDto.workflowInstanceId,
requestDto.workstepInstanceId,
requestDto.workflowId,
requestDto.workstepId,
fromBpiSubjectAccount,
toBpiSubjectAccount,
requestDto.payload,
Expand Down

0 comments on commit c352bdc

Please sign in to comment.