fixed bug:误修改了测试用例导致make test无法通过

This commit is contained in:
孟宁
2025-02-18 10:46:29 +08:00
repo.diff.parent ff588d6257
repo.diff.commit d8d6c5e8ec

repo.diff.view_file

@@ -265,7 +265,7 @@ func TestFindAllIssueReferences(t *testing.T) {
func testFixtures(t *testing.T, fixtures []testFixture, context string) {
// Save original value for other tests that may rely on it
prevURL := setting.AppURL
setting.AppURL = "https://gitea.cn:3000/"
setting.AppURL = "https://gitea.com:3000/"
for _, fixture := range fixtures {
expraw := make([]*rawReference, len(fixture.expected))