Fix jwt-token
This commit is contained in:
@@ -139,7 +139,7 @@ describe('Detections Routes', () => {
|
||||
|
||||
expect(response.status).to.equal(200);
|
||||
expect(response.body.data.detections).to.have.length(1);
|
||||
expect(response.body.data.detections[0].device_id).to.equal(device1.id);
|
||||
expect(response.body.data.detections[0].device_id).to.equal(String(device1.id));
|
||||
});
|
||||
|
||||
it('should support filtering by drone type', async () => {
|
||||
|
||||
Reference in New Issue
Block a user