mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
WIP pass the failed tests.
This commit is contained in:
10
common/routes/oauth.js
Normal file
10
common/routes/oauth.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { request, expect } from '~/testInit';
|
||||
|
||||
describe('routes: /oauth2/', () => {
|
||||
describe('POST `/api/oauth/token`', () => {
|
||||
it('Should `crediential` be required.', async () => {
|
||||
const res = await request().post('/api/oauth2/token').send({});
|
||||
expect(res.status).equals(200);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user