diff options
author | 6543 <6543@obermui.de> | 2023-04-07 12:08:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 18:08:36 +0800 |
commit | 88033438aa8214569913899a17b19b57bd609d97 (patch) | |
tree | 1cbe2ed4cc63dc4f3b93f2aaaface769a0e278ca /tests/integration/api_nodeinfo_test.go | |
parent | ca5722a0fae6cc16dc99021176596970bbf29caf (diff) | |
download | gitea-88033438aa8214569913899a17b19b57bd609d97.tar.gz gitea-88033438aa8214569913899a17b19b57bd609d97.zip |
Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... (#23874)
- close #22301
workaround for https://github.com/go-chi/chi/issues/781
Diffstat (limited to 'tests/integration/api_nodeinfo_test.go')
-rw-r--r-- | tests/integration/api_nodeinfo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_nodeinfo_test.go b/tests/integration/api_nodeinfo_test.go index 29fff8ba72..bc2f11a7f2 100644 --- a/tests/integration/api_nodeinfo_test.go +++ b/tests/integration/api_nodeinfo_test.go @@ -33,7 +33,7 @@ func TestNodeinfo(t *testing.T) { DecodeJSON(t, resp, &nodeinfo) assert.True(t, nodeinfo.OpenRegistrations) assert.Equal(t, "gitea", nodeinfo.Software.Name) - assert.Equal(t, 24, nodeinfo.Usage.Users.Total) + assert.Equal(t, 25, nodeinfo.Usage.Users.Total) assert.Equal(t, 18, nodeinfo.Usage.LocalPosts) assert.Equal(t, 2, nodeinfo.Usage.LocalComments) }) |