Skip to content

Commit d273675

Browse files
committed
Update createTransactionDto test to accept workflowId and workstepId
1 parent c352bdc commit d273675

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/bri-3/src/bri/transactions/api/dtos/request/createTransaction.dto.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ describe('CreateTransactionDto', () => {
88
// Arrange
99
const dto = {
1010
nonce: 123,
11-
workflowInstanceId: '123',
12-
workstepInstanceId: '123',
11+
workflowId: '123',
12+
workstepId: '123',
1313
fromSubjectAccountId: '123',
1414
toSubjectAccountId: '123',
1515
payload: '123',
@@ -33,8 +33,8 @@ describe('CreateTransactionDto', () => {
3333
const dto = {
3434
id: '123',
3535
nonce: 123,
36-
workflowInstanceId: '123',
37-
workstepInstanceId: '123',
36+
workflowId: '123',
37+
workstepId: '123',
3838
fromSubjectAccountId: '123',
3939
toSubjectAccountId: '123',
4040
payload: '123',

0 commit comments

Comments
 (0)