mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-02 11:58:12 +03:00
401 -> 403
This commit is contained in:
@@ -11,7 +11,7 @@ export function RequireNeutralAuthentication(url: string, method: "GET" | "POST"
|
||||
res = await mockApi.post(url);
|
||||
}
|
||||
|
||||
t.equal(res.status, 401, "Should return 401 immediately.");
|
||||
t.equal(res.status, 403, "Should return 403 immediately.");
|
||||
t.equal(
|
||||
res.body.description,
|
||||
"You are not authorised to perform this action.",
|
||||
|
||||
Reference in New Issue
Block a user