0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-05 07:51:17 +02:00

fix org test

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

View File

@ -199,7 +199,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)
}