Skip to content

Commit

Permalink
Remove 533 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mapedraza committed May 14, 2024
1 parent 6fda88b commit c742681
Showing 1 changed file with 0 additions and 101 deletions.
101 changes: 0 additions & 101 deletions test/functional/testCases.js
Original file line number Diff line number Diff line change
Expand Up @@ -3126,107 +3126,6 @@ const testCases = [
}
]
},
{
describeName:
'0533 - Group with explicit attrs:[ ] (empty array) + active attributes + TimeInstant attribute + static attributes + timestamp:true',
provision: {
url: 'http://localhost:' + config.iota.server.port + '/iot/services',
method: 'POST',
json: {
services: [
{
resource: '/iot/json',
apikey: globalEnv.apikey,
entity_type: globalEnv.entity_type,
explicitAttrs: "['DateIssued']",
timestamp: true,
commands: [],
lazy: [],
attributes: [
{
name: 'attr_a',
object_id: 'a',
type: 'Number'
},
{
name: 'attr_b',
object_id: 'b',
type: 'Number'
},
{
name: 'DateIssued',
object_id: 'TimeInstant',
type: 'DateTime'
},
{
name: 'TimeInstant',
object_id: 't',
type: 'DateTime'
}
],
static_attributes: [
{
name: 'static_a',
type: 'Number',
value: 3
},
{
name: 'static_b',
type: 'Number',
value: 4
}
]
}
]
},
headers: {
'fiware-service': globalEnv.service,
'fiware-servicepath': globalEnv.servicePath
}
},
should: [
{
shouldName:
'A - WHEN sending data and a measure called "t" (defined as TimeInstant attribte) through http IT should NOT store anything into the Context Broker (No request to CB)',
type: 'single',
measure: {
url: 'http://localhost:' + config.http.port + '/iot/json',
method: 'POST',
qs: {
i: globalEnv.deviceId,
k: globalEnv.apikey
},
json: {
a: 3,
b: 10,
c: 11,
t: '2015-12-14T08:06:01.468Z'
}
},
expectation: {}
},
{
shouldName:
'B - WHEN sending data and a measure called TimeInstant through http IT should NOT store anything into the Context Broker (No request to CB)',
type: 'single',
measure: {
url: 'http://localhost:' + config.http.port + '/iot/json',
method: 'POST',
qs: {
i: globalEnv.deviceId,
k: globalEnv.apikey
},
json: {
a: 3,
b: 10,
c: 11,
TimeInstant: '2015-12-14T08:06:01.468Z'
}
},
expectation: {} // No payload expected
}
]
},
{
describeName:
'0540 - Group with explicit attrs: JEXL expression based on measure resulting boolean + active attributes + static attributes',
Expand Down

0 comments on commit c742681

Please sign in to comment.