mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-20 19:11:09 +09:00
Update to go 1.26.0 and golangci-lint 2.9.0 (#36588)
This commit is contained in:
@@ -304,7 +304,7 @@ func TestAPICreatePullBasePermission(t *testing.T) {
|
||||
Base: "master",
|
||||
Title: prTitle,
|
||||
|
||||
AllowMaintainerEdit: util.ToPointer(true),
|
||||
AllowMaintainerEdit: new(true),
|
||||
}
|
||||
req := NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls", owner10.Name, repo10.Name), &opts).AddTokenAuth(token)
|
||||
MakeRequest(t, req, http.StatusForbidden)
|
||||
|
||||
Reference in New Issue
Block a user