aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-02-22 20:36:15 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-23 09:36:15 +0800
commit4f3880ff151fcbda019a1a9467bc39da621fbe07 (patch)
treea64d3b0740fd34ee55a9c4a55b04bb8aa1d023db /models/fixtures
parentd181113b82a29c035e92dc00c8385dbe41e5688b (diff)
downloadgitea-4f3880ff151fcbda019a1a9467bc39da621fbe07.tar.gz
gitea-4f3880ff151fcbda019a1a9467bc39da621fbe07.zip
Bug fixes and unit tests for org_team (#1016)
Diffstat (limited to 'models/fixtures')
-rw-r--r--models/fixtures/repository.yml1
-rw-r--r--models/fixtures/team.yml6
2 files changed, 4 insertions, 3 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml
index 7c3426b3fc..1d44865480 100644
--- a/models/fixtures/repository.yml
+++ b/models/fixtures/repository.yml
@@ -57,6 +57,7 @@
num_closed_issues: 0
num_pulls: 0
num_closed_pulls: 0
+ num_watches: 0
is_mirror: true
-
diff --git a/models/fixtures/team.yml b/models/fixtures/team.yml
index 4d559aa7e5..3b47ef0253 100644
--- a/models/fixtures/team.yml
+++ b/models/fixtures/team.yml
@@ -2,7 +2,7 @@
id: 1
org_id: 3
lower_name: owners
- name: owners
+ name: Owners
authorize: 4 # owner
num_repos: 2
num_members: 1
@@ -20,7 +20,7 @@
id: 3
org_id: 6
lower_name: owners
- name: owners
+ name: Owners
authorize: 4 # owner
num_repos: 0
num_members: 1
@@ -29,7 +29,7 @@
id: 4
org_id: 7
lower_name: owners
- name: owners
+ name: Owners
authorize: 4 # owner
num_repos: 0
num_members: 1