mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 11:40:49 +00:00
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