summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
Diffstat (limited to 'integrations')
-rw-r--r--integrations/attachment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/attachment_test.go b/integrations/attachment_test.go
index 7219adf7d7..dd734145d2 100644
--- a/integrations/attachment_test.go
+++ b/integrations/attachment_test.go
@@ -43,7 +43,7 @@ func createAttachment(t *testing.T, session *TestSession, repoURL, filename stri
csrf := GetCSRF(t, session, repoURL)
- req := NewRequestWithBody(t, "POST", "/attachments", body)
+ req := NewRequestWithBody(t, "POST", repoURL+"/issues/attachments", body)
req.Header.Add("X-Csrf-Token", csrf)
req.Header.Add("Content-Type", writer.FormDataContentType())
resp := session.MakeRequest(t, req, expectedStatus)