Skip to content

Commit 960180d

Browse files
committed
Rename test fixture function
1 parent e13fbcd commit 960180d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/webhook/discord_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func TestDiscordPayload(t *testing.T) {
8181
})
8282

8383
t.Run("PushWithLongCommitMessage", func(t *testing.T) {
84-
p := pushTestPayloadMultilineCommitMessage()
84+
p := pushTestMultilineCommitMessagePayload()
8585

8686
pl, err := dc.Push(p)
8787
require.NoError(t, err)

services/webhook/general_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func pushTestPayload() *api.PushPayload {
6767
return pushTestPayloadWithCommitMessage("commit message")
6868
}
6969

70-
func pushTestPayloadMultilineCommitMessage() *api.PushPayload {
70+
func pushTestMultilineCommitMessagePayload() *api.PushPayload {
7171
return pushTestPayloadWithCommitMessage("This is a commit summary that is longer than 50 characters\n\nThis is the message body.")
7272
}
7373

0 commit comments

Comments
 (0)