0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 14:36:16 +02:00

fix failing tests ?

i think they're caused by group permissions causing more repos to be returned than before
This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-08-14 19:39:24 -04:00
parent 271b6c7cae
commit 3bbefda427
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C
2 changed files with 5 additions and 1 deletions

View File

@ -67,7 +67,7 @@
num_followers: 2
num_following: 1
num_stars: 2
num_repos: 14
num_repos: 15
num_teams: 0
num_members: 0
visibility: 0

View File

@ -743,6 +743,10 @@ func TestOAuth_GrantScopesReadRepositoryFailOrganization(t *testing.T) {
FullRepoName: "user2/commitsonpr",
Private: false,
},
{
FullRepoName: "user2/test_commit_revert",
Private: true,
},
}
assert.Equal(t, reposExpected, reposCaptured)