diff --git a/packages/backend/test/e2e/oauth.ts b/packages/backend/test/e2e/oauth.ts index fd782d847..dae5f9c08 100644 --- a/packages/backend/test/e2e/oauth.ts +++ b/packages/backend/test/e2e/oauth.ts @@ -843,7 +843,10 @@ describe('OAuth', () => { }); }); - // TODO: Unknown OAuth endpoint + test('Unknown OAuth endpoint', async () => { + const response = await fetch(new URL('/oauth/foo', host)); + assert.strictEqual(response.status, 404); + }); // TODO: Add spec links to tests });