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