From d46348d624d1455da98cb9ab3ba49cfd7fcf5abd Mon Sep 17 00:00:00 2001 From: Avior Date: Wed, 3 Jan 2024 23:38:10 +0100 Subject: [PATCH] feat: Add a test to validate issue #466 Signed-off-by: Avior --- .bruno/fixes/invalid sorting.bru | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .bruno/fixes/invalid sorting.bru diff --git a/.bruno/fixes/invalid sorting.bru b/.bruno/fixes/invalid sorting.bru new file mode 100644 index 000000000..0fc593d7c --- /dev/null +++ b/.bruno/fixes/invalid sorting.bru @@ -0,0 +1,22 @@ +meta { + name: invalid sorting + type: http + seq: 1 +} + +get { + url: {{BASE_URL}}/v2/en/sets/swsh8/53 + body: none + auth: none +} + +assert { + res.body.id: eq swsh8-53 + res.status: eq 200 +} + +docs { + Validate the issue seen in + + https://github.com/tcgdex/cards-database/issues/466 +}