diff options
Diffstat (limited to 'integrations/change_default_branch_test.go')
-rw-r--r-- | integrations/change_default_branch_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/change_default_branch_test.go b/integrations/change_default_branch_test.go index d34cd176cd..d082512209 100644 --- a/integrations/change_default_branch_test.go +++ b/integrations/change_default_branch_test.go @@ -25,7 +25,7 @@ func TestChangeDefaultBranch(t *testing.T) { req := NewRequest(t, "GET", branchesURL) resp := session.MakeRequest(t, req) assert.EqualValues(t, http.StatusOK, resp.HeaderCode) - doc := NewHtmlParser(t, resp.Body) + doc := NewHTMLParser(t, resp.Body) req = NewRequestWithValues(t, "POST", branchesURL, map[string]string{ "_csrf": doc.GetCSRF(), @@ -39,7 +39,7 @@ func TestChangeDefaultBranch(t *testing.T) { req = NewRequest(t, "GET", branchesURL) resp = session.MakeRequest(t, req) assert.EqualValues(t, http.StatusOK, resp.HeaderCode) - doc = NewHtmlParser(t, resp.Body) + doc = NewHTMLParser(t, resp.Body) req = NewRequestWithValues(t, "POST", branchesURL, map[string]string{ "_csrf": doc.GetInputValueByName("_csrf"), |