As requested by @philpp
All checks were successful
continuous-integration/drone/pr Build is passing

ref #157
This commit is contained in:
2021-03-17 16:49:19 +01:00
parent 757332ed2b
commit 2cb7ec7317
3 changed files with 22 additions and 18 deletions

View File

@@ -80,7 +80,7 @@ describe('adding + getting via me endpoint', () => {
expect(res.headers['content-type']).toContain("application/json")
});
it('correct description and track input for station creation return 200', async () => {
const res = await axios.get(base + '/api/stations/0/me', { headers: { "authorization": "Bearer " + added_station.key } });
const res = await axios.get(base + '/api/stations/me', { headers: { "authorization": "Bearer " + added_station.key } });
expect(res.status).toEqual(200);
expect(res.headers['content-type']).toContain("application/json")
added_station.key = "Only visible on creation.";