attachments: Should be /attachment, not /fetchAttachment
This commit is contained in:
@@ -632,7 +632,7 @@ func TestAttachments(t *testing.T) {
|
||||
defer s.Server.DeleteAttachment(guid)
|
||||
|
||||
// Fetch it back
|
||||
resp, err = http.Get(httpServer.URL + fmt.Sprintf("/fetchAttachment?guid=%s", guid))
|
||||
resp, err = http.Get(httpServer.URL + fmt.Sprintf("/attachment?guid=%s", guid))
|
||||
if err != nil {
|
||||
t.Fatalf("Error fetching attachment: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user