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:
25
.bruno/sets/get-a-list-of-sets.bru
Normal file
25
.bruno/sets/get-a-list-of-sets.bru
Normal 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
|
||||
}
|
Reference in New Issue
Block a user