0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-11 04:55:34 +02:00

fix org test

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-11-25 22:33:04 -05:00
parent 5e24de17f7
commit 7187abcd3e
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -201,7 +201,7 @@ func testOrgRestrictedUser(t *testing.T) {
req = NewRequest(t, "GET", "/"+orgName)
restrictedSession.MakeRequest(t, req, http.StatusOK)
req = NewRequest(t, "GET", fmt.Sprintf("/%s/%s", orgName, repoName))
req = NewRequest(t, "GET", fmt.Sprintf("/%s/%s%s", orgName, maybeGroupSegment(int64(repoGroup)), repoName))
restrictedSession.MakeRequest(t, req, http.StatusOK)
}