Add profile tests
This commit is contained in:
59
fixtures/profile.json
Normal file
59
fixtures/profile.json
Normal file
@@ -0,0 +1,59 @@
|
||||
[
|
||||
{
|
||||
"model": "auth.user",
|
||||
"pk": 1,
|
||||
"fields": {
|
||||
"password": "pbkdf2_sha256$216000$gHBBCr1jBELf$ZkEDW3IEd8Wij7u8vkv+0Eze32CS01bcaYWhcD9OIC4=",
|
||||
"last_login": null,
|
||||
"is_superuser": true,
|
||||
"username": "idar.sokurov.05@mail.ru",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "idar.sokurov.05@mail.ru",
|
||||
"is_staff": true,
|
||||
"is_active": true,
|
||||
"date_joined": "2021-03-10T16:38:56.303Z",
|
||||
"groups": [],
|
||||
"user_permissions": [
|
||||
33
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "main.userprofile",
|
||||
"pk": 1,
|
||||
"fields": {
|
||||
"name": "ZendeskAdmin",
|
||||
"user": 1,
|
||||
"role": "admin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "auth.user",
|
||||
"pk": 2,
|
||||
"fields": {
|
||||
"password": "pbkdf2_sha256$216000$5qLJgrm2Quq9$KDBNNymVZXkUx0HKBPFst2m83kLe0egPBnkW7KnkORU=",
|
||||
"last_login": null,
|
||||
"is_superuser": false,
|
||||
"username": "krav-88@mail.ru",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "krav-88@mail.ru",
|
||||
"is_staff": false,
|
||||
"is_active": true,
|
||||
"date_joined": "2021-03-10T16:38:56.303Z",
|
||||
"groups": [],
|
||||
"user_permissions": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "main.userprofile",
|
||||
"pk": 2,
|
||||
"fields": {
|
||||
"name": "UserForAccessTest",
|
||||
"user": 2,
|
||||
"role": "agent",
|
||||
"custom_role_id": "360005209000"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user