Skip to content

Commit 5f50e98

Browse files
fix failing tests ?
i think they're caused by group permissions causing more repos to be returned than before
1 parent 212bf9c commit 5f50e98

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

models/fixtures/user.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
num_followers: 2
6868
num_following: 1
6969
num_stars: 2
70-
num_repos: 14
70+
num_repos: 15
7171
num_teams: 0
7272
num_members: 0
7373
visibility: 0

tests/integration/oauth_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,10 @@ func TestOAuth_GrantScopesReadRepositoryFailOrganization(t *testing.T) {
705705
FullRepoName: "user2/commitsonpr",
706706
Private: false,
707707
},
708+
{
709+
FullRepoName: "user2/test_commit_revert",
710+
Private: true,
711+
},
708712
}
709713
assert.Equal(t, reposExpected, reposCaptured)
710714

0 commit comments

Comments
 (0)