fix: test not passing lol

This commit is contained in:
zkldi
2024-01-15 21:12:05 +00:00
parent cb1983450f
commit b5ba07cb93
@@ -24,7 +24,7 @@ t.test("GET /api/v1/users/:userID/pfp", (t) => {
await CDNStoreOrOverwrite("/users/default/pfp", "test");
// we have to follow redirs here lol
const res = await mockApi.get("/api/v1/users/1/pfp.png").redirects(1);
const res = await mockApi.get("/api/v1/users/1/pfp.png").redirects(2);
t.equal(res.body.toString(), "test");