1
0
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:
2024-10-17 23:33:34 +02:00
committed by GitHub
parent 1a52a6f29a
commit 4c96331b93
8 changed files with 165 additions and 2 deletions

29
.bruno/graphql/set.bru Normal file
View 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}}
}