Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
verzac committed Jan 27, 2024
1 parent 17e0b4f commit 4928b7d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/notifier/slack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ func TestSlackNotifier(t *testing.T) {
name: "happy path",
doMock: func() {
mockConfigurer.On("GetConfig").Return(defaultConfig, nil)
// responder := httpmock.NewStringResponder(200, `{"ok": true}`).HeaderAdd(map[string][]string{
// "Content-Type": []string{"application/json"},
// })
responder := httpmock.NewJsonResponderOrPanic(200, map[string]any{"ok": true})
httpmock.RegisterResponder("POST", defaultConfig.Slack.WebhookURL, responder)
},
Expand Down

0 comments on commit 4928b7d

Please sign in to comment.