From 6b83336fa3b136b6d5d28a41bccd102eddc980db Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 13 May 2024 11:48:58 -1000 Subject: [PATCH] fix(api): :white_check_mark: Fix a test sending a body with a GET request --- tests/api.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.test.ts b/tests/api.test.ts index 2242e9f7..cd992e03 100644 --- a/tests/api.test.ts +++ b/tests/api.test.ts @@ -17,9 +17,9 @@ describe("API Tests", () => { const response = await sendTestRequest( new Request( - wrapRelativeUrl(`${base_url}/api/v1/custom_emojis`, base_url), + wrapRelativeUrl(`${base_url}/api/v1/statuses`, base_url), { - method: "GET", + method: "POST", headers: { Authorization: `Bearer ${tokens[0].accessToken}`, "Content-Type": "multipart/form-data",