404 test
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
Reference in New Issue
Block a user