get cp paste file upload gogo via multipart form
This commit is contained in:
@@ -42,10 +42,15 @@ func TestServerRoutes(t *testing.T) {
|
||||
method: http.MethodGet,
|
||||
want: `["getfid"]`,
|
||||
},
|
||||
"v0: tree: get pretty": {
|
||||
path: "/api/v0/tree?pretty",
|
||||
method: http.MethodGet,
|
||||
want: `{"delfid":{"Title":"delfid title","Children":[`,
|
||||
},
|
||||
"v0: tree: get": {
|
||||
path: "/api/v0/tree",
|
||||
method: http.MethodGet,
|
||||
want: `{"delfid":{"Title":"delfid title",`,
|
||||
want: `":{"Title":"getfid title",`,
|
||||
},
|
||||
"v0: media: post": {
|
||||
path: "/api/v0/media",
|
||||
|
||||
Reference in New Issue
Block a user