summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/misc/markdown_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/misc/markdown_test.go')
-rw-r--r--routers/api/v1/misc/markdown_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/misc/markdown_test.go b/routers/api/v1/misc/markdown_test.go
index ae7a445e86..182b147820 100644
--- a/routers/api/v1/misc/markdown_test.go
+++ b/routers/api/v1/misc/markdown_test.go
@@ -28,9 +28,9 @@ func createContext(req *http.Request) (*macaron.Context, *httptest.ResponseRecor
resp := httptest.NewRecorder()
c := &macaron.Context{
Injector: inject.New(),
- Req: macaron.Request{req},
+ Req: macaron.Request{Request: req},
Resp: macaron.NewResponseWriter(resp),
- Render: &macaron.DummyRender{resp},
+ Render: &macaron.DummyRender{ResponseWriter: resp},
Data: make(map[string]interface{}),
}
c.Map(c)