mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 22:59:29 +01:00
[MODERATION] Fix transfer confirmation (squash)
- Fix problem caused by the clearer confirmation for dangerous actions commit. (cherry picked from commit3488f4a9cb
) (cherry picked from commited7de91f6a
) (cherry picked from commit2d97929b9b
) (cherry picked from commit50d035a7b0
) (cherry picked from commit0a0c07d78a
) (cherry picked from commit79009609e3
)
This commit is contained in:
parent
652ad8f0f7
commit
b576f3cda3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue