mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-07-16 06:39:50 +00:00
chore: Update Bruno tests (#473)
This commit is contained in:
28
.bruno/cards/get-cards-list.bru
Normal file
28
.bruno/cards/get-cards-list.bru
Normal file
@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: Get the cards list
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/cards?sort:field=name&sort:order=DESC&pagination:page=1&pagination:itemsPerPage=4
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
query {
|
||||
sort:field: name
|
||||
sort:order: DESC
|
||||
pagination:page: 1
|
||||
pagination:itemsPerPage: 4
|
||||
~name: furret
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.length: eq 4
|
||||
}
|
||||
|
||||
docs {
|
||||
Fully describe the card list request, it also has every parameters it can
|
||||
}
|
Reference in New Issue
Block a user