mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-14 06:31:11 +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:
parent
19d37123b4
commit
7257ab0585
@ -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
|
||||||
|
|||||||
@ -810,6 +810,10 @@ func testOAuthGrantScopesReadRepositoryFailOrganization(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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user