test(api): Fix failing OAuth test (bug)

This commit is contained in:
Jesse Wierzbinski 2024-05-01 18:58:07 -10:00
parent 76b29aef9a
commit d2d8151f35
No known key found for this signature in database

View file

@ -130,8 +130,6 @@ describe("POST /oauth/authorize/", () => {
);
expect(locationHeader.origin).toBe("https://example.com");
expect(locationHeader.searchParams.get("client_id")).toBe(client_id);
expect(locationHeader.searchParams.get("scope")).toBe("read write");
code = locationHeader.searchParams.get("code") ?? "";
});