Add default owner team to privated_org and limited_org in unit test (#23109)
Related to https://github.com/go-gitea/gitea/pull/22705 's CI result [here](https://drone.gitea.io/go-gitea/gitea/68043/2/16) > IsOrganizationOwner() [E] [63f61849-7] Organization does not have owner team: 23
This commit is contained in:
parent
b6d2c94966
commit
6864583957
2 changed files with 24 additions and 2 deletions
|
@ -151,3 +151,25 @@
|
|||
num_members: 1
|
||||
includes_all_repositories: false
|
||||
can_create_org_repo: true
|
||||
|
||||
-
|
||||
id: 15
|
||||
org_id: 22
|
||||
lower_name: owners
|
||||
name: Owners
|
||||
authorize: 4 # owner
|
||||
num_repos: 0
|
||||
num_members: 0
|
||||
includes_all_repositories: false
|
||||
can_create_org_repo: true
|
||||
|
||||
-
|
||||
id: 16
|
||||
org_id: 23
|
||||
lower_name: owners
|
||||
name: Owners
|
||||
authorize: 4 # owner
|
||||
num_repos: 0
|
||||
num_members: 0
|
||||
includes_all_repositories: false
|
||||
can_create_org_repo: true
|
|
@ -807,7 +807,7 @@
|
|||
num_following: 0
|
||||
num_stars: 0
|
||||
num_repos: 2
|
||||
num_teams: 0
|
||||
num_teams: 1
|
||||
num_members: 0
|
||||
visibility: 1
|
||||
repo_admin_change_team_access: false
|
||||
|
@ -844,7 +844,7 @@
|
|||
num_following: 0
|
||||
num_stars: 0
|
||||
num_repos: 2
|
||||
num_teams: 0
|
||||
num_teams: 1
|
||||
num_members: 0
|
||||
visibility: 2
|
||||
repo_admin_change_team_access: false
|
||||
|
|
Loading…
Reference in a new issue