Skip to content

Commit

Permalink
Add more tests cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mapedraza authored Aug 7, 2024
1 parent 2cbb954 commit 1bb13b7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.

This file was deleted.

2 changes: 0 additions & 2 deletions test/unit/ngsi-ld/provisioning/listProvisionedDevices-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,9 @@ describe('NGSI-LD - Device provisioning API: List provisioned devices', function
should.exist(body.attributes[0].entity_name);
should.exist(body.attributes[0].entity_type);
should.exist(body.attributes[1].expression);
should.exist(body.attributes[2].reverse);
body.attributes[0].entity_name.should.equal('Higro2000');
body.attributes[0].entity_type.should.equal('Higrometer');
body.attributes[1].expression.should.equal('${@humidity * 20}');
body.attributes[2].reverse.length.should.equal(2);
done();
});
});
Expand Down
2 changes: 0 additions & 2 deletions test/unit/ngsiv2/provisioning/listProvisionedDevices-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,9 @@ describe('NGSI-v2 - Device provisioning API: List provisioned devices', function
should.exist(body.attributes[0].entity_name);
should.exist(body.attributes[0].entity_type);
should.exist(body.attributes[1].expression);
should.exist(body.attributes[2].reverse);
body.attributes[0].entity_name.should.equal('Higro2000');
body.attributes[0].entity_type.should.equal('Higrometer');
body.attributes[1].expression.should.equal('${@humidity * 20}');
body.attributes[2].reverse.length.should.equal(2);
done();
});
});
Expand Down

0 comments on commit 1bb13b7

Please sign in to comment.