mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-18 05:29:37 +08:00
Implement tests
This commit is contained in:
parent
7b1d9d2b4c
commit
0baf619ace
19 changed files with 432 additions and 48 deletions
18
.bruno/drf_template/login.bru
Normal file
18
.bruno/drf_template/login.bru
Normal file
|
@ -0,0 +1,18 @@
|
|||
meta {
|
||||
name: Login & Get Users
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/accounts/jwt/create/
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "{{ADMIN_EMAIL}}",
|
||||
"password": "{{USER_PASSWORD}}"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue