mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
test: Add user mail testing. (#833)
This commit is contained in:
35
models/fixtures/email_address.yml
Normal file
35
models/fixtures/email_address.yml
Normal file
@@ -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
|
@@ -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
|
||||
|
Reference in New Issue
Block a user