mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-18 02:19:17 +00:00
fix: dex-id url not returning valid cards & filtering not working using dexId
(#722)
This commit is contained in:
20
.bruno/filtering/end-star-pattern.bru
Normal file
20
.bruno/filtering/end-star-pattern.bru
Normal file
@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: End Star Pattern
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/cards?name=*chu
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:query {
|
||||
name: *chu
|
||||
}
|
||||
|
||||
assert {
|
||||
res.body.length: gt 3
|
||||
res.body[1].name: neq Pikachu on the Ball
|
||||
}
|
Reference in New Issue
Block a user