1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Convert to url auth to header auth in tests (#28484)

Related #28390
This commit is contained in:
KN4CK3R
2023-12-22 00:59:59 +01:00
committed by GitHub
parent 04b235d094
commit 838db2f891
102 changed files with 1715 additions and 1523 deletions

View File

@@ -51,7 +51,7 @@ func TestSearchRepo(t *testing.T) {
}
func testSearch(t *testing.T, url string, expected []string) {
req := NewRequestf(t, "GET", url)
req := NewRequest(t, "GET", url)
resp := MakeRequest(t, req, http.StatusOK)
filenames := resultFilenames(t, NewHTMLParser(t, resp.Body))