From cbcb829fbde3a4a5e7f94de5dcf24d854c5fc257 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 6 Apr 2021 09:12:03 +0200 Subject: [PATCH] Fixed typo in test ref #190 --- src/tests/stats/stats_get.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 });