aboutsummaryrefslogtreecommitdiffstats
path: root/routers/user/home_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/home_test.go')
-rw-r--r--routers/user/home_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/home_test.go b/routers/user/home_test.go
index a9b146b762..8a3d9b9f51 100644
--- a/routers/user/home_test.go
+++ b/routers/user/home_test.go
@@ -26,8 +26,8 @@ func TestIssues(t *testing.T) {
Issues(ctx)
assert.EqualValues(t, http.StatusOK, ctx.Resp.Status())
- assert.EqualValues(t, map[int64]int64{1: 1, 2: 1}, ctx.Data["Counts"])
+ assert.EqualValues(t, map[int64]int64{1: 1}, ctx.Data["Counts"])
assert.EqualValues(t, true, ctx.Data["IsShowClosed"])
assert.Len(t, ctx.Data["Issues"], 1)
- assert.Len(t, ctx.Data["Repos"], 2)
+ assert.Len(t, ctx.Data["Repos"], 1)
}