0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

[MODERATION] Fix transfer confirmation (squash)

- Fix problem caused by the clearer confirmation for dangerous actions commit.
This commit is contained in:
Gusted 2023-09-18 20:42:38 +02:00
parent b4bb9f8614
commit 3488f4a9cb
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -374,7 +374,7 @@ func TestBlockActions(t *testing.T) {
req := NewRequestWithValues(t, "POST", link, map[string]string{ req := NewRequestWithValues(t, "POST", link, map[string]string{
"_csrf": GetCSRF(t, session, link), "_csrf": GetCSRF(t, session, link),
"action": "transfer", "action": "transfer",
"repo_name": repo7.Name, "repo_name": repo7.FullName(),
"new_owner_name": doer.Name, "new_owner_name": doer.Name,
}) })
resp := session.MakeRequest(t, req, http.StatusOK) resp := session.MakeRequest(t, req, http.StatusOK)