diff --git a/src/utils/dbHandler.spec.ts b/src/utils/dbHandler.spec.ts index 9579c51d66a198713a188ce3758a803e3b0eb883..9769cb97d41c8045822a54161c32cb1995c11faa 100644 --- a/src/utils/dbHandler.spec.ts +++ b/src/utils/dbHandler.spec.ts @@ -598,7 +598,7 @@ describe("Read and Write on Database", () => { }; const inputUpdateObj: InputUpdateOptions = { - idFormUpdates: 1 + idFormUpdate: 1 , idInput: 2 , inputOperation: UpdateType.REMOVE , value: "remove input 2 from form 1" @@ -617,7 +617,7 @@ describe("Read and Write on Database", () => { }; const inputUpdateObj: InputUpdateOptions = { - idFormUpdates: undefined + idFormUpdate: undefined , idInput: undefined , inputOperation: undefined , value: undefined @@ -636,7 +636,7 @@ describe("Read and Write on Database", () => { , updateDate: dateT }; const inputUpdateObj: InputUpdateOptions = { - idFormUpdates: 1 + idFormUpdate: 1 , idInput: 1 , inputOperation: UpdateType.REMOVE , value: "remove input 1 from form 1" diff --git a/src/utils/optHandler.spec.ts b/src/utils/optHandler.spec.ts index 0ed895e96d1cc54546fbf47abd20011f3e9a9a90..02d2dbe4a7758f35f3c6e0d3454bcdaa3d3e93ea 100644 --- a/src/utils/optHandler.spec.ts +++ b/src/utils/optHandler.spec.ts @@ -1058,7 +1058,7 @@ it("should test inputUpdate no error", () => { const inputUpdateObj: InputUpdateOptions = { id: 1 - , idFormUpdates: 1 + , idFormUpdate: 1 , idInput: 1 , inputOperation: UpdateType.REMOVE , value: "remove input 1 from form 1"