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:
parent
5e24de17f7
commit
7187abcd3e
@ -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)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user