fmt changes
This commit is contained in:
parent
395231e1bf
commit
0faef20441
@ -535,7 +535,6 @@ func TestUpdateAction(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
func TestUpdateActionErr(t *testing.T) {
|
||||
// setup
|
||||
assert := assert.New(t)
|
||||
@ -548,7 +547,7 @@ func TestUpdateActionErr(t *testing.T) {
|
||||
CompletedChunks: 6,
|
||||
PlanID: 5,
|
||||
ActionDescription: "testing",
|
||||
ActionID: 2,
|
||||
ActionID: 2,
|
||||
}
|
||||
|
||||
mock.ExpectBegin()
|
||||
@ -579,10 +578,9 @@ func TestUpdateActionCommitErr(t *testing.T) {
|
||||
CompletedChunks: 6,
|
||||
PlanID: 5,
|
||||
ActionDescription: "testing",
|
||||
ActionID: 2,
|
||||
ActionID: 2,
|
||||
}
|
||||
|
||||
|
||||
mock.ExpectBegin()
|
||||
mock.ExpectExec("UPDATE actions").
|
||||
WithArgs("testing", 3, 6, completedOn, 5, 2).
|
||||
|
Loading…
x
Reference in New Issue
Block a user