summaryrefslogtreecommitdiffstats
path: root/modules/test/context_tests.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/test/context_tests.go')
-rw-r--r--modules/test/context_tests.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/test/context_tests.go b/modules/test/context_tests.go
index 35dd920bb9..5ba2126126 100644
--- a/modules/test/context_tests.go
+++ b/modules/test/context_tests.go
@@ -26,6 +26,7 @@ import (
)
// MockContext mock context for unit tests
+// TODO: move this function to other packages, because it depends on "models" package
func MockContext(t *testing.T, path string) *context.Context {
resp := &mockResponseWriter{}
ctx := context.Context{