401 -> 403

This commit is contained in:
zkldi
2021-06-26 02:19:29 +01:00
parent 514c4cd385
commit 7b4d461bb9
+1 -1
View File
@@ -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.",