1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-14 16:39:18 +00:00

fix: dex-id url not returning valid cards & filtering not working using dexId (#722)

This commit is contained in:
2025-05-02 00:31:04 +02:00
committed by GitHub
parent 509288ad19
commit 961c75c8a0
7 changed files with 113 additions and 2 deletions

View 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
}

View File

@ -0,0 +1,19 @@
meta {
name: dexId Search
type: http
seq: 3
}
get {
url: {{BASE_URL}}/v2/ja/cards?dexId=eq:357
body: none
auth: inherit
}
params:query {
dexId: eq:357
}
assert {
res.body.length: eq 3
}

View File

@ -0,0 +1,20 @@
meta {
name: Start star Pattern
type: http
seq: 2
}
get {
url: {{BASE_URL}}/v2/en/cards?name=fu*
body: none
auth: inherit
}
params:query {
name: fu*
}
assert {
res.body.length: gt 3
res.body[1].name: neq Stufful
}