Features for the new selfservice feature/151-selfservice_scans_mails #152

Merged
niggl merged 25 commits from feature/151-selfservice_scans_mails into dev 2021-03-04 16:03:08 +00:00
Showing only changes of commit 82c65b632c - Show all commits

View File

@ -40,4 +40,9 @@ describe('register + get should return 200', () => {
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
});
it('get scans with valid jwt should return 200', async () => {
const res = await axios.get(base + '/api/runners/me/' + added_runner.token + "/scans", axios_config);
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json");
});
});