summaryrefslogtreecommitdiffstats
path: root/integrations/api_nodeinfo_test.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-05-16 09:49:17 +0000
committerGitHub <noreply@github.com>2022-05-16 17:49:17 +0800
commit71ca131582fff51da614291732ed43b2bf48d8a1 (patch)
tree0d7d69b3c5e2110ba00f7049e7b0bd08ef8fff75 /integrations/api_nodeinfo_test.go
parentd494cc335633ff838eaea547438b95e753aeec0f (diff)
downloadgitea-71ca131582fff51da614291732ed43b2bf48d8a1.tar.gz
gitea-71ca131582fff51da614291732ed43b2bf48d8a1.zip
Fix issue overview for teams (#19652)
- Don't use hacky solution to limit to the correct RepoID's, instead use current code to handle these limits. The existing code is more correct than the hacky solution. - Resolves #19636 - Add test-case
Diffstat (limited to 'integrations/api_nodeinfo_test.go')
-rw-r--r--integrations/api_nodeinfo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_nodeinfo_test.go b/integrations/api_nodeinfo_test.go
index 822dbf3f0e..c2fcd2fea5 100644
--- a/integrations/api_nodeinfo_test.go
+++ b/integrations/api_nodeinfo_test.go
@@ -29,7 +29,7 @@ func TestNodeinfo(t *testing.T) {
assert.True(t, nodeinfo.OpenRegistrations)
assert.Equal(t, "gitea", nodeinfo.Software.Name)
assert.Equal(t, 23, nodeinfo.Usage.Users.Total)
- assert.Equal(t, 15, nodeinfo.Usage.LocalPosts)
+ assert.Equal(t, 17, nodeinfo.Usage.LocalPosts)
assert.Equal(t, 2, nodeinfo.Usage.LocalComments)
})
}