diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-02-04 09:20:56 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-04 09:20:56 +0800 |
commit | b6da6585535209f3916eeab245d793f30e8bd650 (patch) | |
tree | 67b7e2189bda5392a9c3952beddbab84c8511794 /models/fixtures | |
parent | 3e0525b47d2d84a251341950cb08da36f42663dd (diff) | |
download | gitea-b6da6585535209f3916eeab245d793f30e8bd650.tar.gz gitea-b6da6585535209f3916eeab245d793f30e8bd650.zip |
test: Add user mail testing. (#833)
Diffstat (limited to 'models/fixtures')
-rw-r--r-- | models/fixtures/email_address.yml | 35 | ||||
-rw-r--r-- | models/fixtures/user.yml | 16 |
2 files changed, 51 insertions, 0 deletions
diff --git a/models/fixtures/email_address.yml b/models/fixtures/email_address.yml new file mode 100644 index 0000000000..c37d9a7877 --- /dev/null +++ b/models/fixtures/email_address.yml @@ -0,0 +1,35 @@ +- + id: 1 + uid: 1 + email: user11@example.com + is_activated: false + +- + id: 2 + uid: 1 + email: user12@example.com + is_activated: false + +- + id: 3 + uid: 2 + email: user2@example.com + is_activated: true + +- + id: 4 + uid: 2 + email: user21@example.com + is_activated: false + +- + id: 5 + uid: 9999999 + email: user9999999@example.com + is_activated: true + +- + id: 6 + uid: 10 + email: user101@example.com + is_activated: true diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml index e8f13b93bd..1bca6049f1 100644 --- a/models/fixtures/user.yml +++ b/models/fixtures/user.yml @@ -132,3 +132,19 @@ num_repos: 0 num_members: 1 is_active: false + +- + id: 10 + lower_name: user10 + name: user10 + full_name: User Ten + email: user10@example.com + passwd: password + type: 0 # user + salt: salt + is_admin: false + avatar: avatar10 + avatar_email: user10@example.com + num_repos: 0 + num_members: 1 + is_active: true |