Fixed typo in test
Some checks failed
continuous-integration/drone/pr Build is failing

ref #190
This commit is contained in:
Nicolai Ort 2021-04-06 09:12:03 +02:00
parent 057ae0d797
commit cbcb829fbd

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 () => {
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
});