Skip to content

Commit bc4470a

Browse files
committed
fix tests
1 parent 53c4f6f commit bc4470a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

integrations/editor_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,7 @@ func testEditFileToNewBranchAndSendPull(t *testing.T, session *TestSession, user
154154
testEditFileToNewBranch(t, session, user, repo, branch, targetBranch, filePath, newContent)
155155

156156
url := path.Join(user, repo, "compare", branch+"..."+targetBranch)
157-
158-
req := NewRequest(t, "GET", url)
159-
resp := session.MakeRequest(t, req, http.StatusOK)
160-
htmlDoc := NewHTMLParser(t, resp.Body)
161-
162-
req = NewRequestWithValues(t, "POST", url,
157+
req := NewRequestWithValues(t, "POST", url,
163158
map[string]string{
164159
"_csrf": GetCSRF(t, session, url),
165160
"title": "pull request from " + targetBranch,

0 commit comments

Comments
 (0)