diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-01 13:15:09 -0500 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-01-06 10:08:23 -0500 |
commit | 72bfabfada8fc485b88eb4547b7d3575789a69c8 (patch) | |
tree | 838a128004ac7e3417816171c1f3e60b98edcd57 /models/fixtures/user.yml | |
parent | 1a7fc53c98f06f79955d217f91c8a5553e5a27b3 (diff) | |
download | gitea-72bfabfada8fc485b88eb4547b7d3575789a69c8.tar.gz gitea-72bfabfada8fc485b88eb4547b7d3575789a69c8.zip |
Unit tests for models/pull.go
Diffstat (limited to 'models/fixtures/user.yml')
-rw-r--r-- | models/fixtures/user.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml new file mode 100644 index 0000000000..8847fc7aaa --- /dev/null +++ b/models/fixtures/user.yml @@ -0,0 +1,25 @@ +- # NOTE: this user (id=1) is the admin + id: 1 + lower_name: user1 + name: user1 + email: user1@example.com + passwd: password + type: 0 # individual + salt: salt + is_admin: true + avatar: avatar1 + avatar_email: user2@example.com + num_repos: 0 + +- + id: 2 + lower_name: user2 + name: user2 + email: user2@example.com + passwd: password + type: 0 # individual + salt: salt + is_admin: false + avatar: avatar2 + avatar_email: user2@example.com + num_repos: 2 |