summaryrefslogtreecommitdiffstats
path: root/models/fixtures/user.yml
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-01-07 22:10:53 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-08 11:10:53 +0800
commit6072b032918006824f260e79f96372dd94fbb17f (patch)
tree16e9ee4c0f0550ec55dd2463496649d44e2dfe99 /models/fixtures/user.yml
parent8422ab542c69592b4629188d4460ca560307465b (diff)
downloadgitea-6072b032918006824f260e79f96372dd94fbb17f.tar.gz
gitea-6072b032918006824f260e79f96372dd94fbb17f.zip
Unit tests for models/access.go (#606)
Diffstat (limited to 'models/fixtures/user.yml')
-rw-r--r--models/fixtures/user.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml
index 8847fc7aaa..cb3b954a22 100644
--- a/models/fixtures/user.yml
+++ b/models/fixtures/user.yml
@@ -23,3 +23,42 @@
avatar: avatar2
avatar_email: user2@example.com
num_repos: 2
+
+-
+ id: 3
+ lower_name: user3
+ name: user3
+ email: user3@example.com
+ passwd: password
+ type: 1 # organization
+ salt: salt
+ is_admin: false
+ avatar: avatar3
+ avatar_email: user3@example.com
+ num_repos: 1
+
+-
+ id: 4
+ lower_name: user4
+ name: user4
+ email: user4@example.com
+ passwd: password
+ type: 1 # individual
+ salt: salt
+ is_admin: false
+ avatar: avatar4
+ avatar_email: user4@example.com
+ num_repos: 0
+
+-
+ id: 5
+ lower_name: user5
+ name: user5
+ email: user5@example.com
+ passwd: password
+ type: 1 # individual
+ salt: salt
+ is_admin: false
+ avatar: avatar5
+ avatar_email: user5@example.com
+ num_repos: 1