Added scan (station) apis feature/67-scan_apis #80

Merged
niggl merged 51 commits from feature/67-scan_apis into dev 2021-01-08 19:18:42 +00:00
Showing only changes of commit 09b37f0ff2 - Show all commits

View File

@ -22,7 +22,7 @@ describe('GET /api/scans sucessfully', () => {
});
});
// ---------------
describe('GET /api/tracks illegally', () => {
describe('GET /api/scans illegally', () => {
it('get for non-existant track should return 404', async () => {
const res = await axios.get(base + '/api/scans/-1', axios_config);
expect(res.status).toEqual(404);