fix(api): Fix a test sending a body with a GET request

This commit is contained in:
Jesse Wierzbinski 2024-05-13 11:48:58 -10:00
parent 6c3fcf699e
commit 6b83336fa3
No known key found for this signature in database

View file

@ -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",