fmt changes
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good

This commit is contained in:
Deepak Mallubhotla 2021-01-09 23:54:52 -06:00
parent 395231e1bf
commit 0faef20441

View File

@ -535,7 +535,6 @@ func TestUpdateAction(t *testing.T) {
} }
func TestUpdateActionErr(t *testing.T) { func TestUpdateActionErr(t *testing.T) {
// setup // setup
assert := assert.New(t) assert := assert.New(t)
@ -548,7 +547,7 @@ func TestUpdateActionErr(t *testing.T) {
CompletedChunks: 6, CompletedChunks: 6,
PlanID: 5, PlanID: 5,
ActionDescription: "testing", ActionDescription: "testing",
ActionID: 2, ActionID: 2,
} }
mock.ExpectBegin() mock.ExpectBegin()
@ -579,10 +578,9 @@ func TestUpdateActionCommitErr(t *testing.T) {
CompletedChunks: 6, CompletedChunks: 6,
PlanID: 5, PlanID: 5,
ActionDescription: "testing", ActionDescription: "testing",
ActionID: 2, ActionID: 2,
} }
mock.ExpectBegin() mock.ExpectBegin()
mock.ExpectExec("UPDATE actions"). mock.ExpectExec("UPDATE actions").
WithArgs("testing", 3, 6, completedOn, 5, 2). WithArgs("testing", 3, 6, completedOn, 5, 2).