From 7ba8042c663debe773d0a5d5a5e2c5181c49e99c Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 3 Jul 2024 18:45:20 -0400 Subject: [PATCH] chore(test): change axios test url (#434) Fixes a test failure ``` AxiosError: Request failed with status code 503 ``` https://github.com/vercel/nft/actions/runs/9785119974/job/27017473162?pr=429#step:10:1864 --- test/integration/axios.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/axios.js b/test/integration/axios.js index 7dedf556..a0fd43b6 100644 --- a/test/integration/axios.js +++ b/test/integration/axios.js @@ -1,10 +1,10 @@ const axios = require("axios"); (async () => { - const { data } = await axios({ - url: "https://dog.ceo/api/breeds/image/random" + const { status } = await axios({ + url: "https://example.vercel.sh" }); - if (data.status !== "success") { + if (status !== 200) { throw new Error("Unexpected response: " + JSON.stringify(data)); } })();