mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-21 12:55:23 +02:00
Rename test fixture function
This commit is contained in:
parent
af276c5b54
commit
8f4bd8eccd
@ -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)
|
||||
|
@ -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.")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user