mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-13 08:19:17 +00:00
fix: sets not working when fetching with name
This commit is contained in:
16
.bruno/sets/Get a card by set name.bru
Normal file
16
.bruno/sets/Get a card by set name.bru
Normal file
@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get a card by set name
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/sets/Crystal%20Guardians/10
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.id: eq ex14-10
|
||||
}
|
16
.bruno/sets/Get a set by name.bru
Normal file
16
.bruno/sets/Get a set by name.bru
Normal file
@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get a set by name
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{BASE_URL}}/v2/en/sets/Crystal%20Guardians
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.body.id: eq ex14
|
||||
}
|
Reference in New Issue
Block a user