This commit is contained in:
2026-05-11 03:27:21 +03:30
parent cf7cbb937c
commit d0e68a1a56
854 changed files with 102985 additions and 76 deletions
+6 -20
View File
@@ -1,30 +1,16 @@
base_url: http://backend:8000/api/auth
base_url: http://backend-web:8000/api
flows:
register_login:
auth:
register:
method: POST
path: /register/
body:
username: "{random_username}"
email: "{random_username}@example.com"
phone_number: "09120000000"
password: "test123456"
first_name: "test"
last_name: "user"
expected_status: 201
expected_json:
msg: success
login:
method: POST
path: /login/
path: /auth/login/
body:
identifier: "{random_username}"
password: "test123456"
identifier: "admin"
password: "admin123456"
expected_status: 200
@@ -32,6 +18,6 @@ flows:
token: token
store_redis:
key: "test_token:{random_username}"
key: "test_token"
ttl: 3600