summaryrefslogtreecommitdiffstats
path: root/routers/web/user/home_test.go
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-10-17 18:23:27 +0200
committerGitHub <noreply@github.com>2022-10-18 00:23:27 +0800
commita577214760c8f495f315fc569f476d2e72f22ebb (patch)
tree9553f3cb31e8b260ff6781821cfdce3ea192407f /routers/web/user/home_test.go
parent18622a07054e853731e1af96253d1387451b51e2 (diff)
downloadgitea-a577214760c8f495f315fc569f476d2e72f22ebb.tar.gz
gitea-a577214760c8f495f315fc569f476d2e72f22ebb.zip
Add some api integration tests (#18872)
depends on #18871 Added some api integration tests to help testing of #18798. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'routers/web/user/home_test.go')
-rw-r--r--routers/web/user/home_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/home_test.go b/routers/web/user/home_test.go
index 9ad0711dc0..36e99bba5e 100644
--- a/routers/web/user/home_test.go
+++ b/routers/web/user/home_test.go
@@ -76,7 +76,7 @@ func TestPulls(t *testing.T) {
Pulls(ctx)
assert.EqualValues(t, http.StatusOK, ctx.Resp.Status())
- assert.Len(t, ctx.Data["Issues"], 3)
+ assert.Len(t, ctx.Data["Issues"], 4)
}
func TestMilestones(t *testing.T) {