ref #190
This commit is contained in:
parent
057ae0d797
commit
cbcb829fbd
@ -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
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user