summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/projects_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/projects_test.go')
-rw-r--r--routers/web/repo/projects_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/projects_test.go b/routers/web/repo/projects_test.go
index c712902ea9..e2797772a8 100644
--- a/routers/web/repo/projects_test.go
+++ b/routers/web/repo/projects_test.go
@@ -14,7 +14,7 @@ import (
func TestCheckProjectBoardChangePermissions(t *testing.T) {
unittest.PrepareTestEnv(t)
- ctx := test.MockContext(t, "user2/repo1/projects/1/2")
+ ctx, _ := test.MockContext(t, "user2/repo1/projects/1/2")
test.LoadUser(t, ctx, 2)
test.LoadRepo(t, ctx, 1)
ctx.SetParams(":id", "1")