aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-02-25 14:28:47 -0600
committerGitHub <noreply@github.com>2020-02-25 14:28:47 -0600
commitc161bb013e091c0bcc524f07d50c028d9daf8cce (patch)
tree0638e74576902e5c18cb77b3e469a5435cf707e5 /integrations
parent4427a936b4c7bd07908ccbe96104928dd29cf59d (diff)
downloadgitea-c161bb013e091c0bcc524f07d50c028d9daf8cce.tar.gz
gitea-c161bb013e091c0bcc524f07d50c028d9daf8cce.zip
Change action GETs to POST (#10462)
* Change action GETs to POST * submite = submit + smite * No more # href * Fix test * Match other tests * Explicit csrf Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'integrations')
-rw-r--r--integrations/release_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/release_test.go b/integrations/release_test.go
index 33badcb0a2..be0abd5e34 100644
--- a/integrations/release_test.go
+++ b/integrations/release_test.go
@@ -20,7 +20,7 @@ func createNewRelease(t *testing.T, session *TestSession, repoURL, tag, title st
resp := session.MakeRequest(t, req, http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)
- link, exists := htmlDoc.doc.Find("form").Attr("action")
+ link, exists := htmlDoc.doc.Find("form.ui.form").Attr("action")
assert.True(t, exists, "The template has changed")
postData := map[string]string{