summaryrefslogtreecommitdiffstats
path: root/models/fixtures/user.yml
diff options
context:
space:
mode:
authorMorlinest <morlinest@gmail.com>2017-10-26 23:16:13 +0200
committerLauris BH <lauris@nix.lv>2017-10-27 00:16:13 +0300
commitddb7f59ef414ffad8dc2485055c246aaea0507d7 (patch)
tree1e0f10f02b05896a43f609dd91a29d727e1b4a2a /models/fixtures/user.yml
parent4d01ecaef350c6df0c27913f05cc0537bed5f7e9 (diff)
downloadgitea-ddb7f59ef414ffad8dc2485055c246aaea0507d7.tar.gz
gitea-ddb7f59ef414ffad8dc2485055c246aaea0507d7.zip
Add search mode option to /api/repo/search (#2756)
* Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
Diffstat (limited to 'models/fixtures/user.yml')
-rw-r--r--models/fixtures/user.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml
index 1e06255988..60f5e8405a 100644
--- a/models/fixtures/user.yml
+++ b/models/fixtures/user.yml
@@ -281,4 +281,36 @@
avatar: avatar18
avatar_email: user18@example.com
num_repos: 0
+ is_active: true
+
+-
+ id: 19
+ lower_name: user19
+ name: user19
+ full_name: User 19
+ email: user19@example.com
+ passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
+ type: 1 # organization
+ salt: ZogKvWdyEx
+ is_admin: false
+ avatar: avatar19
+ avatar_email: user19@example.com
+ num_repos: 2
+ is_active: true
+ num_members: 1
+ num_teams: 1
+
+-
+ id: 20
+ lower_name: user20
+ name: user20
+ full_name: User 20
+ email: user20@example.com
+ passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
+ type: 0 # individual
+ salt: ZogKvWdyEx
+ is_admin: false
+ avatar: avatar20
+ avatar_email: user20@example.com
+ num_repos: 4
is_active: true \ No newline at end of file