Skip to content

Commit

Permalink
style: use linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrMatsko committed Dec 18, 2024
1 parent 647615c commit 86acc69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/handler/triggers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,7 @@ func TestGetTriggerNoisiness(t *testing.T) {
getTriggerNoisiness(responseWriter, getRequestTriggerNoisiness(from, to))

response := responseWriter.Result()
defer response.Body.Close()

So(response.StatusCode, ShouldEqual, http.StatusOK)

Expand Down Expand Up @@ -962,6 +963,7 @@ func TestGetTriggerNoisiness(t *testing.T) {
getTriggerNoisiness(responseWriter, getRequestTriggerNoisiness(from, to))

response := responseWriter.Result()
defer response.Body.Close()

So(response.StatusCode, ShouldEqual, http.StatusInternalServerError)

Expand Down

0 comments on commit 86acc69

Please sign in to comment.