diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-24 11:16:36 -0500 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-27 12:24:06 -0500 |
commit | a2412492da2def90457a2a20fd043bea21ef415f (patch) | |
tree | 842907cb6d69db617e5c048d23a864c8bbd6b22a /models/fixtures/user.yml | |
parent | bb5a6b7a07125b29604f479f45e59073cb3d4648 (diff) | |
download | gitea-a2412492da2def90457a2a20fd043bea21ef415f.tar.gz gitea-a2412492da2def90457a2a20fd043bea21ef415f.zip |
Unit tests and bug fix for models/org
Diffstat (limited to 'models/fixtures/user.yml')
-rw-r--r-- | models/fixtures/user.yml | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml index a38b4016e3..aa1d80d6f0 100644 --- a/models/fixtures/user.yml +++ b/models/fixtures/user.yml @@ -38,7 +38,8 @@ is_admin: false avatar: avatar3 avatar_email: user3@example.com - num_repos: 1 + num_repos: 2 + num_members: 2 - id: 4 @@ -47,7 +48,7 @@ full_name: User Four email: user4@example.com passwd: password - type: 1 # individual + type: 0 # individual salt: salt is_admin: false avatar: avatar4 @@ -61,9 +62,40 @@ full_name: User Five email: user5@example.com passwd: password - type: 1 # individual + type: 0 # individual salt: salt is_admin: false avatar: avatar5 avatar_email: user5@example.com num_repos: 1 + allow_create_organization: false + +- + id: 6 + lower_name: user6 + name: user6 + full_name: User Six + email: user6@example.com + passwd: password + type: 1 # organization + salt: salt + is_admin: false + avatar: avatar6 + avatar_email: user6@example.com + num_repos: 0 + num_members: 1 + +- + id: 7 + lower_name: user7 + name: user7 + full_name: User Seven + email: user7@example.com + passwd: password + type: 1 # organization + salt: salt + is_admin: false + avatar: avatar7 + avatar_email: user7@example.com + num_repos: 0 + num_members: 1 |