Skip to content

Commit dbed0dc

Browse files
Fix unit tests
1 parent 269ecb3 commit dbed0dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lambdas/api-handler/src/handlers/__tests__/letter-status-update.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('createLetterStatusUpdateHandler', () => {
2323
supplierId: 's1',
2424
specificationId: 'spec1',
2525
groupId: 'g1',
26-
reasonCode: 123,
26+
reasonCode: '123',
2727
reasonText: 'Reason text'
2828
},
2929
{

lambdas/api-handler/src/handlers/__tests__/post-letters.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const updateLettersRequest : PostLettersRequest = {
3333
type: 'Letter',
3434
attributes: {
3535
status: 'REJECTED',
36-
reasonCode: 123,
36+
reasonCode: '123',
3737
reasonText: 'Reason text',
3838
}
3939
},

0 commit comments

Comments
 (0)