mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
f260064083
commit
f00ac1a590
173 changed files with 665 additions and 752 deletions
|
|
@ -76,7 +76,9 @@ describe("/oauth/token", () => {
|
|||
|
||||
expect(response.status).toBe(422);
|
||||
const body = await response.json();
|
||||
expect(body.error).toInclude(`Expected string at "code"`);
|
||||
expect(body.error).toInclude(
|
||||
`expected string, received undefined at "code"`,
|
||||
);
|
||||
});
|
||||
|
||||
test("should return error for missing redirect_uri", async () => {
|
||||
|
|
@ -95,7 +97,9 @@ describe("/oauth/token", () => {
|
|||
|
||||
expect(response.status).toBe(422);
|
||||
const body = await response.json();
|
||||
expect(body.error).toInclude(`Expected string at "redirect_uri"`);
|
||||
expect(body.error).toInclude(
|
||||
`expected string, received undefined at "redirect_uri"`,
|
||||
);
|
||||
});
|
||||
|
||||
test("should return error for missing client_id", async () => {
|
||||
|
|
@ -114,7 +118,9 @@ describe("/oauth/token", () => {
|
|||
|
||||
expect(response.status).toBe(422);
|
||||
const body = await response.json();
|
||||
expect(body.error).toInclude(`Expected string at "client_id"`);
|
||||
expect(body.error).toInclude(
|
||||
`expected string, received undefined at "client_id"`,
|
||||
);
|
||||
});
|
||||
|
||||
test("should return error for invalid client credentials", async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue