fixed bug:误修改了测试用例导致make test无法通过
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user