Add Bruno tests

This commit is contained in:
Dayamond committed 2025-10-18 17:17:35 +02:00
1 parent 1c00dbdb85
commit 223cfe086c
7 files changed
+76 -69

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
meta {
name: Create user
type: http
seq: 2
}
post {
url: http://localhost:8000/api/user/create
body: json
auth: inherit
}
headers {
Accept: application/json
}
body:json {
{
"name": "{{name}}",
"email": "{{email}}",
"password": "{{password}}"
}
}
vars:pre-request {
name: name
email: test@test.com
password: test
}
assert {
res.status: eq 200
}
settings {
encodeUrl: true
timeout: 0
}
docs {
Créer un utilisateur test
}