Skip to content

Commit

Permalink
Merge pull request #907 from marwoodandrew/fix-sms-tests
Browse files Browse the repository at this point in the history
fix sms reports tests
  • Loading branch information
marwoodandrew authored Apr 5, 2023
2 parents f052b8e + b3852a9 commit 5a92e8d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions server/features/sms_report.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Feature: SMS Report
Then we get list with 1 items
"""
{"_items": [{
"start_epoch": 1530226800000,
"start_epoch": 1530223200000,
"interval": 86400000,
"with_sms": [0, 1, 1],
"without_sms": [1, 1, 0]
Expand Down Expand Up @@ -71,14 +71,14 @@ Feature: SMS Report
"type": "column",
"xAxis": 0,
"data": [0, 1, 1],
"pointStart": 1530226800000,
"pointStart": 1530223200000,
"pointInterval": 86400000
}, {
"name": "Without SMS",
"type": "column",
"xAxis": 0,
"data": [1, 1, 0],
"pointStart": 1530226800000,
"pointStart": 1530223200000,
"pointInterval": 86400000
}]
}]
Expand Down Expand Up @@ -106,7 +106,7 @@ Feature: SMS Report
Then we get list with 1 items
"""
{"_items": [{
"start_epoch": 1530313200000,
"start_epoch": 1530309600000,
"interval": 3600000,
"with_sms": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
"without_sms": [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Expand Down Expand Up @@ -155,15 +155,15 @@ Feature: SMS Report
"name": "With SMS",
"type": "column",
"xAxis": 0,
"data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
"pointStart": 1530313200000,
"data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0],
"pointStart": 1530309600000,
"pointInterval": 3600000
}, {
"name": "Without SMS",
"type": "column",
"xAxis": 0,
"data": [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"pointStart": 1530313200000,
"data": [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"pointStart": 1530309600000,
"pointInterval": 3600000
}]
}]
Expand Down Expand Up @@ -194,7 +194,7 @@ Feature: SMS Report
Then we get list with 1 items
"""
{"_items": [{
"start_epoch": 1529190000000,
"start_epoch": 1529186400000,
"interval": 604800000,
"with_sms": [1, 2],
"without_sms": [1, 1]
Expand Down Expand Up @@ -247,14 +247,14 @@ Feature: SMS Report
"type": "column",
"xAxis": 0,
"data": [1, 2],
"pointStart": 1529190000000,
"pointStart": 1529186400000,
"pointInterval": 604800000
}, {
"name": "Without SMS",
"type": "column",
"xAxis": 0,
"data": [1, 1],
"pointStart": 1529190000000,
"pointStart": 1529186400000,
"pointInterval": 604800000
}]
}]
Expand Down

0 comments on commit 5a92e8d

Please sign in to comment.