mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-26 22:09:18 +00:00
feat: Add bruno to tests the APIs (#468)
This commit is contained in:
23
.bruno/sets/get list of sets.bru
Normal file
23
.bruno/sets/get list of sets.bru
Normal file
@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: get 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
|
||||
}
|
Reference in New Issue
Block a user