Skip to content

Commit

Permalink
Reverting back to old messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Buhle79 committed Oct 17, 2023
1 parent b04b080 commit 681b0e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
7 changes: 2 additions & 5 deletions go-app-ussd_tb_check.js
Original file line number Diff line number Diff line change
Expand Up @@ -1114,8 +1114,7 @@ go.app = function () {

self.states.add("state_commit_to_get_tested", function (name) {
return new MenuState(name, {
question: $(["You will get R15 airtime if you commit to get tested.",
"Airtime will be sent to you within 1 hour.",
question: $(["You will get R15 airtime within 1 hour if you commit to get tested.",
"",
"Do you commit to getting tested?"
].join("\n")
Expand Down Expand Up @@ -1143,9 +1142,7 @@ go.app = function () {
return new EndState(name, {
next: "state_submit_test_commit",
text: $([
"WCDoH strongly encourages you to screen for your own benefit.",
"",
"You can complete a TBCheck any time by dialling *134*832*5# or Whatsapp TB to 0600123456",
"Even if you can’t commit now, it is still important to get tested.",
].join("\n")
),
});
Expand Down
7 changes: 2 additions & 5 deletions src/ussd_tb_check.js
Original file line number Diff line number Diff line change
Expand Up @@ -997,8 +997,7 @@ go.app = function () {

self.states.add("state_commit_to_get_tested", function (name) {
return new MenuState(name, {
question: $(["You will get R15 airtime if you commit to get tested.",
"Airtime will be sent to you within 1 hour.",
question: $(["You will get R15 airtime within 1 hour if you commit to get tested.",
"",
"Do you commit to getting tested?"
].join("\n")
Expand Down Expand Up @@ -1026,9 +1025,7 @@ go.app = function () {
return new EndState(name, {
next: "state_submit_test_commit",
text: $([
"WCDoH strongly encourages you to screen for your own benefit.",
"",
"You can complete a TBCheck any time by dialling *134*832*5# or Whatsapp TB to 0600123456",
"Even if you can’t commit now, it is still important to get tested.",
].join("\n")
),
});
Expand Down
7 changes: 2 additions & 5 deletions test/ussd_tb_check.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2011,8 +2011,7 @@ describe("ussd_tb_check app", function () {
.check.interaction({
state: "state_commit_to_get_tested",
reply: [
"You will get R15 airtime if you commit to get tested.",
"Airtime will be sent to you within 1 hour.",
"You will get R15 airtime within 1 hour if you commit to get tested.",
"",
"Do you commit to getting tested?",
"1. YES",
Expand Down Expand Up @@ -2179,9 +2178,7 @@ describe("ussd_tb_check app", function () {
.check.interaction({
state: "state_commit_to_get_tested_no",
reply:[
"WCDoH strongly encourages you to screen for your own benefit.",
"",
"You can complete a TBCheck any time by dialling *134*832*5# or Whatsapp TB to 0600123456"
"Even if you can’t commit now, it is still important to get tested."
].join("\n"),
char_limit: 160,
})
Expand Down

0 comments on commit 681b0e4

Please sign in to comment.