mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 12:32:49 +09:00
Rename pull request GetGitRefName to GetGitHeadRefName (#35093)
This commit is contained in:
@ -217,7 +217,7 @@ func TestAgitReviewStaleness(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
defer baseGitRepo.Close()
|
||||
|
||||
updatedCommitID, err := baseGitRepo.GetRefCommitID(pr.GetGitRefName())
|
||||
updatedCommitID, err := baseGitRepo.GetRefCommitID(pr.GetGitHeadRefName())
|
||||
assert.NoError(t, err)
|
||||
t.Logf("Updated commit ID: %s", updatedCommitID)
|
||||
|
||||
|
Reference in New Issue
Block a user