mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-21 11:29:18 +00:00
fix: set id not taking into account in set search (#563)
This commit is contained in:
28
.bruno/graphql/card.bru
Normal file
28
.bruno/graphql/card.bru
Normal file
@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: card
|
||||
type: graphql
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/v2/graphql
|
||||
body: graphql
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:graphql {
|
||||
query Pouet {
|
||||
card(id: "{{ID}}") {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
ID: swsh1-136
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.data.card.id: eq {{ID}}
|
||||
}
|
Reference in New Issue
Block a user