diff --git a/src/tests/stats/stats_get.spec.ts b/src/tests/stats/stats_get.spec.ts index 422fe07..262cf93 100644 --- a/src/tests/stats/stats_get.spec.ts +++ b/src/tests/stats/stats_get.spec.ts @@ -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 () => { - const res = await axios.get(base + '/api/stats/distance', { + const res = await axios.get(base + '/api/stats/runners/distance', { headers: { "authorization": "Bearer 123123123123123123" }, validateStatus: undefined });