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

chore: Update Bruno tests (#473)

This commit is contained in:
2024-01-08 01:33:47 +01:00
committed by GitHub
parent 3a441887b8
commit b168b86006
10 changed files with 38 additions and 32 deletions

View File

@ -1,15 +0,0 @@
meta {
name: get one card from a set
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/cards/swsh3
body: none
auth: none
}
assert {
res.status: eq 200
}

View File

@ -1,5 +1,5 @@
meta {
name: get list of sets
name: Get a list of sets
type: http
seq: 3
}
@ -20,4 +20,6 @@ query {
assert {
res.status: eq 200
res.body[0].id: eq swsh3
res.body.length: eq 1
}

View File

@ -1,5 +1,5 @@
meta {
name: get a set
name: Get a set
type: http
seq: 2
}
@ -12,4 +12,5 @@ get {
assert {
res.status: eq 200
res.body.id: eq swsh3
}

View File

@ -0,0 +1,16 @@
meta {
name: Get one card from a set
type: http
seq: 1
}
get {
url: {{BASE_URL}}/v2/en/sets/swsh3/136
body: none
auth: none
}
assert {
res.status: eq 200
res.body.id: eq swsh3-136
}