1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-17 01:49:19 +00:00

chore: Update Bruno tests (#473)

This commit is contained in:
2024-01-08 01:33:47 +01:00
committed by GitHub
parent 3a441887b8
commit b168b86006
10 changed files with 38 additions and 32 deletions

View File

@ -0,0 +1,25 @@
meta {
name: Get a list of sets
type: http
seq: 3
}
get {
url: {{BASE_URL}}/v2/en/sets?sort:field=name&sort:order=DESC&pagination:page=1&pagination:itemsPerPage=1&name=Dark
body: none
auth: none
}
query {
sort:field: name
sort:order: DESC
pagination:page: 1
pagination:itemsPerPage: 1
name: Dark
}
assert {
res.status: eq 200
res.body[0].id: eq swsh3
res.body.length: eq 1
}