Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cb0ba7687 |
@@ -101,6 +101,7 @@ func createAppWithForm(
|
|||||||
t.Context(), http.MethodPost, "/apps", strings.NewReader(form.Encode()),
|
t.Context(), http.MethodPost, "/apps", strings.NewReader(form.Encode()),
|
||||||
)
|
)
|
||||||
request.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
request.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
||||||
|
|
||||||
recorder := httptest.NewRecorder()
|
recorder := httptest.NewRecorder()
|
||||||
|
|
||||||
handlersInstance.HandleAppCreate().ServeHTTP(recorder, request)
|
handlersInstance.HandleAppCreate().ServeHTTP(recorder, request)
|
||||||
|
|||||||
Reference in New Issue
Block a user