Skip to content

Commit 065d9cb

Browse files
committed
test(json-api-server-e2e): Add test for check validation for null
Closes: 107
1 parent 5cdd8ce commit 065d9cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/json-api-server-e2e/src/json-api/json-api-sdk/patch-methode.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ describe('PATCH method:', () => {
129129
userWithEmptyAttr.id = userAfterSave.id;
130130
userWithEmptyAttr.addresses = newAddressAfterSave;
131131
userWithEmptyAttr.comments = [newCommentsAfterSave];
132+
userWithEmptyAttr.lastName = null as any;
132133

133134
await jsonSdk.jonApiSdkService.patchOne(userWithEmptyAttr);
134135
const userAfterUpdate = await jsonSdk.jonApiSdkService.getOne(

0 commit comments

Comments
 (0)