aboutsummaryrefslogtreecommitdiffstats
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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/web/repo/projects_test.go b/routers/web/repo/projects_test.go
index 1a42c615ab..d0690d9a4d 100644
--- a/routers/web/repo/projects_test.go
+++ b/routers/web/repo/projects_test.go
@@ -17,8 +17,8 @@ func TestCheckProjectColumnChangePermissions(t *testing.T) {
ctx, _ := contexttest.MockContext(t, "user2/repo1/projects/1/2")
contexttest.LoadUser(t, ctx, 2)
contexttest.LoadRepo(t, ctx, 1)
- ctx.SetPathParam(":id", "1")
- ctx.SetPathParam(":columnID", "2")
+ ctx.SetPathParam("id", "1")
+ ctx.SetPathParam("columnID", "2")
project, column := checkProjectColumnChangePermissions(ctx)
assert.NotNil(t, project)