mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
WIP Items module.
This commit is contained in:
11
server/tests/routes/oauth.test.js
Normal file
11
server/tests/routes/oauth.test.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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({});
|
||||
console.log(res.body);
|
||||
expect(res.status).equals(200);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user