summaryrefslogtreecommitdiffstats
path: root/integrations/repo_fork_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_fork_test.go')
-rw-r--r--integrations/repo_fork_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/repo_fork_test.go b/integrations/repo_fork_test.go
index 7aebd5dbde..bcd5185116 100644
--- a/integrations/repo_fork_test.go
+++ b/integrations/repo_fork_test.go
@@ -23,7 +23,7 @@ func testRepoFork(t *testing.T, session *TestSession) *TestResponse {
assert.EqualValues(t, http.StatusOK, resp.HeaderCode)
// Step2: click the fork button
- htmlDoc := NewHtmlParser(t, resp.Body)
+ htmlDoc := NewHTMLParser(t, resp.Body)
link, exists := htmlDoc.doc.Find("a.ui.button[href^=\"/repo/fork/\"]").Attr("href")
assert.True(t, exists, "The template has changed")
req = NewRequest(t, "GET", link)
@@ -31,7 +31,7 @@ func testRepoFork(t *testing.T, session *TestSession) *TestResponse {
assert.EqualValues(t, http.StatusOK, resp.HeaderCode)
// Step3: fill the form of the forking
- htmlDoc = NewHtmlParser(t, resp.Body)
+ htmlDoc = NewHTMLParser(t, resp.Body)
link, exists = htmlDoc.doc.Find("form.ui.form[action^=\"/repo/fork/\"]").Attr("action")
assert.True(t, exists, "The template has changed")
req = NewRequestWithValues(t, "POST", link, map[string]string{