ref #157
This commit is contained in:
1 parent
757332ed2b
commit
2cb7ec7317
3 files changed
+22
-18
No files matched your search
@@ -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.";
|
||||
|
||||
Reference in new issue
Block a user