Skip to content

Commit

Permalink
remove autocast
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Oct 11, 2023
1 parent d9c57fc commit 96e58e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion test/unit/ngsiv2/config-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ config.amqp = {

config.iota = {
logLevel: 'FATAL',
autocast: true,
contextBroker: {
host: '192.168.1.1',
port: '1026',
Expand Down
12 changes: 6 additions & 6 deletions test/unit/ngsiv2/ultralightMeasures-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('Ultralight 2.0 Parser: measures', function () {
result.length.should.equal(1);
should.exist(result[0]);
should.exist(result[0].a);
result[0].a.should.equal('1');
result[0].a.should.equal(1);
});
});
describe('When a payload with a multiple measures is parsed', function () {
Expand All @@ -46,9 +46,9 @@ describe('Ultralight 2.0 Parser: measures', function () {
result.length.should.equal(1);
should.exist(result[0]);
should.exist(result[0].c);
result[0].c.should.equal('7');
result[0].c.should.equal(7);
should.exist(result[0].b);
result[0].b.should.equal('18');
result[0].b.should.equal(18);
});
});
describe('When a payload with timestamp information is parsed', function () {
Expand All @@ -64,7 +64,7 @@ describe('Ultralight 2.0 Parser: measures', function () {
should.exist(result[0].TimeInstant);
result[0].TimeInstant.should.equal('2016-06-13T00:35:30Z');
should.exist(result[0].lle);
result[0].lle.should.equal('100');
result[0].lle.should.equal(100);
});
});
describe('When a payload with an initial bar and multiple measures is parsed', function () {
Expand All @@ -76,9 +76,9 @@ describe('Ultralight 2.0 Parser: measures', function () {
result.length.should.equal(1);
should.exist(result[0]);
should.exist(result[0].c);
result[0].c.should.equal('7');
result[0].c.should.equal(7);
should.exist(result[0].b);
result[0].b.should.equal('18');
result[0].b.should.equal(18);
});
});

Expand Down

0 comments on commit 96e58e1

Please sign in to comment.