mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-17 09:59:19 +00:00
fix: dex-id url not returning valid cards & filtering not working using dexId
(#722)
This commit is contained in:
21
.bruno/dex-ids/get-by-dex-id.bru
Normal file
21
.bruno/dex-ids/get-by-dex-id.bru
Normal file
@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Get by Dex ID
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/dex-ids/{{ID}}
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
ID: 162
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.cards.length: gte 8
|
||||
res.body.name: eq {{ID}}
|
||||
}
|
Reference in New Issue
Block a user