test: fix Bruno auth test sequence and add registration data
Correct the sequence numbers for logout and refresh token tests. Add sample registration data to the Register User test.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Logout User
|
||||
type: http
|
||||
seq: 1
|
||||
seq: 3
|
||||
http:
|
||||
method: POST
|
||||
url: '{{base_url}}/api/auth/logout'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Refresh Access Token
|
||||
type: http
|
||||
seq: 1
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
|
||||
@@ -8,7 +8,14 @@ http:
|
||||
url: "{{base_url}}/api/auth/register"
|
||||
body:
|
||||
type: json
|
||||
data: ""
|
||||
data: |-
|
||||
{
|
||||
"username": "testuser",
|
||||
"email": "testuser@example.com",
|
||||
"password": "Test@Pass123!",
|
||||
"first_name": "Test",
|
||||
"last_name": "User"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
|
||||
Reference in New Issue
Block a user