mirror of
1
Fork 0

[MODERATION] Fix transfer confirmation (squash)

- Fix problem caused by the clearer confirmation for dangerous actions commit.

(cherry picked from commit 3488f4a9cb)
(cherry picked from commit ed7de91f6a)
(cherry picked from commit 2d97929b9b)
This commit is contained in:
Gusted 2023-09-18 20:42:38 +02:00 committed by Earl Warren
parent 1fbde36dc7
commit 50d035a7b0
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 1 additions and 1 deletions

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)