diff options
Diffstat (limited to 'integrations/pull_status_test.go')
-rw-r--r-- | integrations/pull_status_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/pull_status_test.go b/integrations/pull_status_test.go index 7c6f3d44c5..f818643005 100644 --- a/integrations/pull_status_test.go +++ b/integrations/pull_status_test.go @@ -33,12 +33,12 @@ func TestPullCreate_CommitStatus(t *testing.T) { req = NewRequest(t, "GET", "/user1/repo1/pulls") resp := session.MakeRequest(t, req, http.StatusOK) - doc := NewHTMLParser(t, resp.Body) + NewHTMLParser(t, resp.Body) // Request repository commits page req = NewRequest(t, "GET", "/user1/repo1/pulls/1/commits") resp = session.MakeRequest(t, req, http.StatusOK) - doc = NewHTMLParser(t, resp.Body) + doc := NewHTMLParser(t, resp.Body) // Get first commit URL commitURL, exists := doc.doc.Find("#commits-table tbody tr td.sha a").Last().Attr("href") |