mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 20:33:09 +02:00
404 test
This commit is contained in:
parent
3b8b9a658a
commit
b5df8ca0fd
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue