Skip to content
Snippets Groups Projects
Commit 7eab677f authored by Gianfranco Harres's avatar Gianfranco Harres
Browse files

Issue #26: Create form update and input update class

parent c0fc5c5b
No related branches found
No related tags found
No related merge requests found
Pipeline #20770 passed
...@@ -598,7 +598,7 @@ describe("Read and Write on Database", () => { ...@@ -598,7 +598,7 @@ describe("Read and Write on Database", () => {
}; };
const inputUpdateObj: InputUpdateOptions = { const inputUpdateObj: InputUpdateOptions = {
idFormUpdates: 1 idFormUpdate: 1
, idInput: 2 , idInput: 2
, inputOperation: UpdateType.REMOVE , inputOperation: UpdateType.REMOVE
, value: "remove input 2 from form 1" , value: "remove input 2 from form 1"
...@@ -617,7 +617,7 @@ describe("Read and Write on Database", () => { ...@@ -617,7 +617,7 @@ describe("Read and Write on Database", () => {
}; };
const inputUpdateObj: InputUpdateOptions = { const inputUpdateObj: InputUpdateOptions = {
idFormUpdates: undefined idFormUpdate: undefined
, idInput: undefined , idInput: undefined
, inputOperation: undefined , inputOperation: undefined
, value: undefined , value: undefined
...@@ -636,7 +636,7 @@ describe("Read and Write on Database", () => { ...@@ -636,7 +636,7 @@ describe("Read and Write on Database", () => {
, updateDate: dateT , updateDate: dateT
}; };
const inputUpdateObj: InputUpdateOptions = { const inputUpdateObj: InputUpdateOptions = {
idFormUpdates: 1 idFormUpdate: 1
, idInput: 1 , idInput: 1
, inputOperation: UpdateType.REMOVE , inputOperation: UpdateType.REMOVE
, value: "remove input 1 from form 1" , value: "remove input 1 from form 1"
......
...@@ -1058,7 +1058,7 @@ ...@@ -1058,7 +1058,7 @@
it("should test inputUpdate no error", () => { it("should test inputUpdate no error", () => {
const inputUpdateObj: InputUpdateOptions = { const inputUpdateObj: InputUpdateOptions = {
id: 1 id: 1
, idFormUpdates: 1 , idFormUpdate: 1
, idInput: 1 , idInput: 1
, inputOperation: UpdateType.REMOVE , inputOperation: UpdateType.REMOVE
, value: "remove input 1 from form 1" , value: "remove input 1 from form 1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment