Skip to content

Commit 745c808

Browse files
Copilotsilverwind
andcommitted
Update test message to match Gitea's merge format
Use realistic merge message format: "Merge pull request 'title' (#number) from branch into target" Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
1 parent 7ef4293 commit 745c808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/issue/commit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func TestUpdateIssuesCommit_SelfReference(t *testing.T) {
312312
CommitterName: "User Two",
313313
AuthorEmail: "user2@example.com",
314314
AuthorName: "User Two",
315-
Message: "Merge pull request (#2) from branch1", // References its own PR
315+
Message: "Merge pull request 'issue2' (#2) from branch1 into master", // References its own PR
316316
},
317317
}
318318

0 commit comments

Comments
 (0)