summaryrefslogtreecommitdiffstats
path: root/models/fixtures/team.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/team.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/team.yml')
-rw-r--r--models/fixtures/team.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/models/fixtures/team.yml b/models/fixtures/team.yml
index 2b2186deae..1d242cb5bb 100644
--- a/models/fixtures/team.yml
+++ b/models/fixtures/team.yml
@@ -37,6 +37,7 @@
num_repos: 0
num_members: 1
unit_types: '[1,2,3,4,5,6,7]'
+
-
id: 5
org_id: 17
@@ -45,4 +46,14 @@
authorize: 4 # owner
num_repos: 2
num_members: 2
+ unit_types: '[1,2,3,4,5,6,7]'
+
+-
+ id: 6
+ org_id: 19
+ lower_name: owners
+ name: Owners
+ authorize: 4 # owner
+ num_repos: 2
+ num_members: 1
unit_types: '[1,2,3,4,5,6,7]' \ No newline at end of file