Self service registration feature/112-selfservice_registration #120

Merged
niggl merged 31 commits from feature/112-selfservice_registration into dev 2021-01-22 14:13:29 +00:00
Showing only changes of commit 1227408407 - Show all commits

View File

@ -15,11 +15,6 @@ beforeAll(async () => {
});
describe('GET /api/runners/me invalid should return fail', () => {
it('get without token should return 406', async () => {
const res = await axios.get(base + '/api/runners/me', axios_config);
expect(res.status).toEqual(406);
expect(res.headers['content-type']).toContain("application/json");
});
it('get with invalid jwt should return 401', async () => {
const res = await axios.get(base + '/api/runners/me/123.123', axios_config);
expect(res.status).toEqual(401);