Skip to content

Commit 34afc8e

Browse files
committed
Fix test
1 parent 40f4b7e commit 34afc8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routers/web/repo/wiki_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,9 @@ func TestDefaultWikiBranch(t *testing.T) {
247247
// repo with wiki
248248
assert.NoError(t, repo_model.UpdateRepositoryColsNoAutoTime(
249249
db.DefaultContext,
250-
&repo_model.Repository{ID: 1, DefaultWikiBranch: "wrong-branch"}),
250+
&repo_model.Repository{ID: 1, DefaultWikiBranch: "wrong-branch"},
251251
"default_wiki_branch",
252+
),
252253
)
253254

254255
ctx, _ := contexttest.MockContext(t, "user2/repo1/wiki")

0 commit comments

Comments
 (0)