Feature/tests/make_eng from work and control pages
This commit is contained in:
85
fixtures/test_make_engineer.json
Normal file
85
fixtures/test_make_engineer.json
Normal file
@@ -0,0 +1,85 @@
|
||||
[
|
||||
{
|
||||
"model": "auth.user",
|
||||
"pk": 1,
|
||||
"fields": {
|
||||
"password": "pbkdf2_sha256$216000$gHBBCr1jBELf$ZkEDW3IEd8Wij7u8vkv+0Eze32CS01bcaYWhcD9OIC4=",
|
||||
"last_login": null,
|
||||
"is_superuser": true,
|
||||
"username": "admin@gmail.com",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "admin@gmail.com",
|
||||
"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": "123@test.ru",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "123@test.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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "auth.user",
|
||||
"pk": 3,
|
||||
"fields": {
|
||||
"password": "pbkdf2_sha256$216000$5qLJgrm2Quq9$KDBNNymVZXkUx0HKBPFst2m83kLe0egPBnkW7KnkORU=",
|
||||
"last_login": null,
|
||||
"is_superuser": false,
|
||||
"username": "customer@example.com",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "customer@example.com",
|
||||
"is_staff": false,
|
||||
"is_active": true,
|
||||
"date_joined": "2021-04-15T16:38:56.303Z",
|
||||
"groups": [],
|
||||
"user_permissions": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "main.userprofile",
|
||||
"pk": 3,
|
||||
"fields": {
|
||||
"name": "UserForAccessTest",
|
||||
"user": 3,
|
||||
"role": "agent",
|
||||
"custom_role_id": "360005209000"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user