summaryrefslogtreecommitdiffstats
path: root/modules/contexttest/context_tests.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/contexttest/context_tests.go')
-rw-r--r--modules/contexttest/context_tests.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/contexttest/context_tests.go b/modules/contexttest/context_tests.go
index f8fb0859e3..ea91bc5001 100644
--- a/modules/contexttest/context_tests.go
+++ b/modules/contexttest/context_tests.go
@@ -50,7 +50,6 @@ func MockContext(t *testing.T, reqPath string) (*context.Context, *httptest.Resp
base.Locale = &translation.MockLocale{}
ctx := context.NewWebContext(base, &MockRender{}, nil)
- ctx.Flash = &middleware.Flash{Values: url.Values{}}
chiCtx := chi.NewRouteContext()
ctx.Base.AppendContextValue(chi.RouteCtxKey, chiCtx)