mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-31 03:14:17 +09:00
Rename pull request GetGitRefName to GetGitHeadRefName (#35093)
This commit is contained in:
1 parent
bc78a9a38a
commit
37958e486a
27 files changed
+81
-81
No files matched your search
@@ -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