mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 18:33:00 +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:
1 parent
271b6c7cae
commit
3bbefda427
2 files changed
+5
-1
No files matched your search
@@ -67,7 +67,7 @@
|
|||||||
num_followers: 2
|
num_followers: 2
|
||||||
num_following: 1
|
num_following: 1
|
||||||
num_stars: 2
|
num_stars: 2
|
||||||
num_repos: 14
|
num_repos: 15
|
||||||
num_teams: 0
|
num_teams: 0
|
||||||
num_members: 0
|
num_members: 0
|
||||||
visibility: 0
|
visibility: 0
|
||||||
|
|||||||
@@ -743,6 +743,10 @@ func TestOAuth_GrantScopesReadRepositoryFailOrganization(t *testing.T) {
|
|||||||
FullRepoName: "user2/commitsonpr",
|
FullRepoName: "user2/commitsonpr",
|
||||||
Private: false,
|
Private: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
FullRepoName: "user2/test_commit_revert",
|
||||||
|
Private: true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
assert.Equal(t, reposExpected, reposCaptured)
|
assert.Equal(t, reposExpected, reposCaptured)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user