mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(api): ✅ Fix a test sending a body with a GET request
This commit is contained in:
parent
6c3fcf699e
commit
6b83336fa3
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue