From 681b0e4865719dc125c49a49dc17ad0bbd2b20a0 Mon Sep 17 00:00:00 2001 From: Buhle Date: Tue, 17 Oct 2023 14:25:09 +0200 Subject: [PATCH] Reverting back to old messages --- go-app-ussd_tb_check.js | 7 ++----- src/ussd_tb_check.js | 7 ++----- test/ussd_tb_check.test.js | 7 ++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/go-app-ussd_tb_check.js b/go-app-ussd_tb_check.js index b4afad9f..b06fe07d 100644 --- a/go-app-ussd_tb_check.js +++ b/go-app-ussd_tb_check.js @@ -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") @@ -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") ), }); diff --git a/src/ussd_tb_check.js b/src/ussd_tb_check.js index 369c28dc..a9c86484 100644 --- a/src/ussd_tb_check.js +++ b/src/ussd_tb_check.js @@ -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") @@ -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") ), }); diff --git a/test/ussd_tb_check.test.js b/test/ussd_tb_check.test.js index 2d15ffe0..2694c375 100644 --- a/test/ussd_tb_check.test.js +++ b/test/ussd_tb_check.test.js @@ -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", @@ -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, })