Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Jan 13, 2022
1 parent bef0567 commit ade827d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructure/persistence/run_test.go
Expand Up @@ -57,7 +57,7 @@ func TestShouldUpdateRun(t *testing.T) {

// given
mock, tx := mocks.BuildTransaction(context.Background(), t)
mock.ExpectExec("UPDATE runs").WithArgs(run.NomadJobID, run.FinishedAt, run.Success, run.Failure).WillReturnResult(pgxmock.NewResult("UPDATE", 1))
mock.ExpectExec("UPDATE runs").WithArgs(run.NomadJobID, run.FinishedAt).WillReturnResult(pgxmock.NewResult("UPDATE", 1))
mock.ExpectCommit()
repository := NewRunRepository(mock)

Expand Down

0 comments on commit ade827d

Please sign in to comment.