diff --git a/services/webhook/discord_test.go b/services/webhook/discord_test.go index 073350c01f..201f82580d 100644 --- a/services/webhook/discord_test.go +++ b/services/webhook/discord_test.go @@ -81,7 +81,7 @@ func TestDiscordPayload(t *testing.T) { }) t.Run("PushWithLongCommitMessage", func(t *testing.T) { - p := pushTestPayloadMultilineCommitMessage() + p := pushTestMultilineCommitMessagePayload() pl, err := dc.Push(p) require.NoError(t, err) diff --git a/services/webhook/general_test.go b/services/webhook/general_test.go index 0d9551ab8c..5fa81050aa 100644 --- a/services/webhook/general_test.go +++ b/services/webhook/general_test.go @@ -67,7 +67,7 @@ func pushTestPayload() *api.PushPayload { return pushTestPayloadWithCommitMessage("commit message") } -func pushTestPayloadMultilineCommitMessage() *api.PushPayload { +func pushTestMultilineCommitMessagePayload() *api.PushPayload { return pushTestPayloadWithCommitMessage("This is a commit summary that is longer than 50 characters\n\nThis is the message body.") }