aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/repo_generate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_generate_test.go')
-rw-r--r--integrations/repo_generate_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/repo_generate_test.go b/integrations/repo_generate_test.go
index d1e28c2f08..66819656f9 100644
--- a/integrations/repo_generate_test.go
+++ b/integrations/repo_generate_test.go
@@ -21,11 +21,11 @@ func testRepoGenerate(t *testing.T, session *TestSession, templateOwnerName, tem
// Step0: check the existence of the generated repo
req := NewRequestf(t, "GET", "/%s/%s", generateOwnerName, generateRepoName)
- resp := session.MakeRequest(t, req, http.StatusNotFound)
+ session.MakeRequest(t, req, http.StatusNotFound)
// Step1: go to the main page of template repo
req = NewRequestf(t, "GET", "/%s/%s", templateOwnerName, templateRepoName)
- resp = session.MakeRequest(t, req, http.StatusOK)
+ resp := session.MakeRequest(t, req, http.StatusOK)
// Step2: click the "Use this template" button
htmlDoc := NewHTMLParser(t, resp.Body)