Remove wrong test

This commit is contained in:
Jesse Wierzbinski 2024-04-11 13:13:46 -10:00
parent 3ccff003f5
commit ed58b7e67f
No known key found for this signature in database

View file

@ -7,9 +7,7 @@ import {
} from "~tests/utils";
import { config } from "~index";
import { meta } from "./index";
import type { APIStatus } from "~types/entities/status";
import type { APIAccount } from "~types/entities/account";
import { getUserUri } from "~database/entities/User";
await deleteOldTestUsers();
@ -39,19 +37,6 @@ beforeAll(async () => {
// /api/v1/accounts/:id
describe(meta.route, () => {
test("should return 401 if not authenticated and trying to use following", async () => {
const response = await sendTestRequest(
new Request(
new URL(
`${meta.route.replace(":id", users[0].id)}?following=true`,
config.http.base_url,
),
),
);
expect(response.status).toBe(401);
});
test("should return 404 if ID is invalid", async () => {
const response = await sendTestRequest(
new Request(