diff options
Diffstat (limited to 'modules/test/context_tests.go')
-rw-r--r-- | modules/test/context_tests.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/test/context_tests.go b/modules/test/context_tests.go index af47369ee1..874d7db196 100644 --- a/modules/test/context_tests.go +++ b/modules/test/context_tests.go @@ -117,6 +117,10 @@ func (rw *mockResponseWriter) Before(b macaron.BeforeFunc) { b(rw) } +func (rw *mockResponseWriter) Push(target string, opts *http.PushOptions) error { + return nil +} + type mockRender struct { http.ResponseWriter } |