summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-02-04 10:58:43 -0500
committerEthan Koenig <ethantkoenig@gmail.com>2017-02-04 11:01:06 -0500
commit5972aa9af3e50fc23e2da1a2937dd8092f2dc089 (patch)
treef98dd8391ebcf0d456dd6306bf1f1ea82f2b20e0
parent8a421b1fd702d99e8438f6ef6f4ee339f1eaa130 (diff)
downloadgitea-5972aa9af3e50fc23e2da1a2937dd8092f2dc089.tar.gz
gitea-5972aa9af3e50fc23e2da1a2937dd8092f2dc089.zip
Fix inconsistencies in test fixtures
-rw-r--r--models/fixtures/team.yml2
-rw-r--r--models/fixtures/user.yml7
2 files changed, 5 insertions, 4 deletions
diff --git a/models/fixtures/team.yml b/models/fixtures/team.yml
index 99e228efeb..4d559aa7e5 100644
--- a/models/fixtures/team.yml
+++ b/models/fixtures/team.yml
@@ -4,7 +4,7 @@
lower_name: owners
name: owners
authorize: 4 # owner
- num_repos: 1
+ num_repos: 2
num_members: 1
-
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml
index 1bca6049f1..3ed0b2b618 100644
--- a/models/fixtures/user.yml
+++ b/models/fixtures/user.yml
@@ -25,6 +25,7 @@
avatar: avatar2
avatar_email: user2@example.com
num_repos: 2
+ num_stars: 2
-
id: 3
@@ -40,6 +41,7 @@
avatar_email: user3@example.com
num_repos: 2
num_members: 2
+ num_teams: 2
-
id: 4
@@ -85,6 +87,7 @@
avatar_email: user6@example.com
num_repos: 0
num_members: 1
+ num_teams: 1
-
id: 7
@@ -100,6 +103,7 @@
avatar_email: user7@example.com
num_repos: 0
num_members: 1
+ num_teams: 1
-
id: 8
@@ -114,7 +118,6 @@
avatar: avatar8
avatar_email: user8@example.com
num_repos: 0
- num_members: 1
is_active: true
-
@@ -130,7 +133,6 @@
avatar: avatar9
avatar_email: user9@example.com
num_repos: 0
- num_members: 1
is_active: false
-
@@ -146,5 +148,4 @@
avatar: avatar10
avatar_email: user10@example.com
num_repos: 0
- num_members: 1
is_active: true