Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed May 16, 2024
1 parent 847a0a6 commit dca4f2c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion test/unit/ngsiv2/HTTP_reveice_measures-test2.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ describe('HTTP: Measure reception ', function () {
TimeInstant: '2023-03-23T23:33:33Z'
},
{
h: '111111'
h: '111111',
TimeInstant: '2024-03-23T23:33:33Z'
}
],
headers: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"type": "AnMQTTDevice",
"temperature": {
"type": "celsius",
"value": "89"
"value": "87"
},
"humidity": {
"type": "degrees",
"value": "33"
"value": "32"
},
"luminosity": {
"type": "Integer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "sensor",
"humidity": {
"type": "percent",
"value": "111222"
"value": "111333"
},
"TimeInstant": {
"type": "DateTime",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"type": "sensor",
"TimeInstant": {
"type": "DateTime",
"value": "2020-02-22T22:22:22Z"
"value": "2023-03-23T23:33:33Z"
},
"humidity": {
"type": "percent",
"value": "111222",
"value": "111333",
"metadata": {
"TimeInstant": {
"type": "DateTime",
"value": "2020-02-22T22:22:22Z"
"value": "2023-03-23T23:33:33Z"
}
}
}
Expand All @@ -42,15 +42,15 @@
"type": "sensor",
"TimeInstant": {
"type": "DateTime",
"value": "2020-02-22T22:22:22Z"
"value": "2024-03-23T23:33:33Z"
},
"humidity": {
"type": "percent",
"value": "111222",
"value": "111111",
"metadata": {
"TimeInstant": {
"type": "DateTime",
"value": "2020-02-22T22:22:22Z"
"value": "2024-03-23T23:33:33Z"
}
}
}
Expand Down

0 comments on commit dca4f2c

Please sign in to comment.