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

Related #28390
This commit is contained in:
KN4CK3R authored and GitHub committed 2023-12-21 23:59:59 +00:00
1 parent 04b235d094
commit 838db2f891
102 files changed
+1715 -1523

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ func TestListStopWatches(t *testing.T) {
owner := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: repo.OwnerID})
session := loginUser(t, owner.Name)
req := NewRequestf(t, "GET", "/user/stopwatches")
req := NewRequest(t, "GET", "/user/stopwatches")
resp := session.MakeRequest(t, req, http.StatusOK)
var apiWatches []*api.StopWatch
DecodeJSON(t, resp, &apiWatches)