Release 0.10.2 #192

Merged
niggl merged 41 commits from dev into main 2021-04-07 17:27:49 +00:00
Showing only changes of commit cbcb829fbd - Show all commits

View File

@ -21,9 +21,9 @@ beforeAll(async () => {
}; };
}); });
describe('GET /api/stats/distance w/o auth should return 200', () => { describe('GET /api/stats/runners/distance w/o auth should return 200', () => {
it('get with invalid token should return 401', async () => { it('get with invalid token should return 401', async () => {
const res = await axios.get(base + '/api/stats/distance', { const res = await axios.get(base + '/api/stats/runners/distance', {
headers: { "authorization": "Bearer 123123123123123123" }, headers: { "authorization": "Bearer 123123123123123123" },
validateStatus: undefined validateStatus: undefined
}); });