mirror of
https://github.com/go-gitea/gitea
synced 2025-07-30 14:18:38 +00:00
Expand fixtures (#2571)
* Add more repo search tests * Add and fix /api/repo/search integration tests * Add owner to access table for organization repositories * Remove tests
This commit is contained in:
@@ -218,3 +218,50 @@
|
||||
avatar_email: user13@example.com
|
||||
num_repos: 3
|
||||
is_active: true
|
||||
|
||||
-
|
||||
id: 15
|
||||
lower_name: user15
|
||||
name: user15
|
||||
full_name: User 15
|
||||
email: user15@example.com
|
||||
passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
|
||||
type: 0 # individual
|
||||
salt: ZogKvWdyEx
|
||||
is_admin: false
|
||||
avatar: avatar15
|
||||
avatar_email: user15@example.com
|
||||
num_repos: 4
|
||||
is_active: true
|
||||
|
||||
-
|
||||
id: 16
|
||||
lower_name: user16
|
||||
name: user16
|
||||
full_name: User 16
|
||||
email: user16@example.com
|
||||
passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
|
||||
type: 0 # individual
|
||||
salt: ZogKvWdyEx
|
||||
is_admin: false
|
||||
avatar: avatar16
|
||||
avatar_email: user16@example.com
|
||||
num_repos: 2
|
||||
is_active: true
|
||||
|
||||
-
|
||||
id: 17
|
||||
lower_name: user17
|
||||
name: user17
|
||||
full_name: User 17
|
||||
email: user17@example.com
|
||||
passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
|
||||
type: 1 # organization
|
||||
salt: ZogKvWdyEx
|
||||
is_admin: false
|
||||
avatar: avatar17
|
||||
avatar_email: user17@example.com
|
||||
num_repos: 2
|
||||
is_active: true
|
||||
num_members: 1
|
||||
num_teams: 1
|
Reference in New Issue
Block a user