summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/test/context_tests.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/test/context_tests.go b/modules/test/context_tests.go
index da15b64395..887446d716 100644
--- a/modules/test/context_tests.go
+++ b/modules/test/context_tests.go
@@ -34,7 +34,9 @@ func MockContext(t *testing.T, path string) *context.Context {
macaronContext.Data = map[string]interface{}{}
return &context.Context{
Context: &macaronContext,
- Flash: &session.Flash{},
+ Flash: &session.Flash{
+ Values: make(url.Values),
+ },
}
}