From 7eab677faab7a2287f23d1e46415c83d24502c0e Mon Sep 17 00:00:00 2001 From: gsh18 <gsh18@inf.ufpr.br> Date: Mon, 8 Jul 2019 09:47:29 -0300 Subject: [PATCH] Issue #26: Create form update and input update class --- src/utils/dbHandler.spec.ts | 6 +++--- src/utils/optHandler.spec.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/dbHandler.spec.ts b/src/utils/dbHandler.spec.ts index 9579c51..9769cb9 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 0ed895e..02d2dbe 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" -- GitLab