mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-16 09:29:19 +00:00
chore: Update Bruno tests (#473)
This commit is contained in:
33
.bruno/graphql.bru
Normal file
33
.bruno/graphql.bru
Normal file
@ -0,0 +1,33 @@
|
||||
meta {
|
||||
name: GraphQL API
|
||||
type: graphql
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{BASE_URL}}/v2/graphql
|
||||
body: graphql
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:graphql {
|
||||
query Pouet {
|
||||
cards {
|
||||
id
|
||||
localId
|
||||
name
|
||||
set {
|
||||
id
|
||||
name
|
||||
serie {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
Reference in New Issue
Block a user