From c9a535fa683a9dcd8cdaee71dfe7b5912bb0e3fe Mon Sep 17 00:00:00 2001 From: Aphiwe Moshesh Date: Wed, 22 Jul 2020 12:55:31 +0200 Subject: [PATCH] add xhosa translation to test --- test/ussd_higherhealth_healthcheck.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ussd_higherhealth_healthcheck.test.js b/test/ussd_higherhealth_healthcheck.test.js index 99ee701b..3c3e954d 100644 --- a/test/ussd_higherhealth_healthcheck.test.js +++ b/test/ussd_higherhealth_healthcheck.test.js @@ -1,6 +1,7 @@ var vumigo = require("vumigo_v02"); var AppTester = vumigo.AppTester; var fixtures_rapidpro = require("./fixtures_rapidpro")(); +var xho_translation = require('../config/go-app-ussd-clinic.xho_ZA.json'); describe("ussd_higherhealth_healthcheck app", function () { var app; @@ -83,6 +84,9 @@ describe("ussd_higherhealth_healthcheck app", function () { it("should change the language", function () { return tester + .setup.config({ + "translation.xho": xho_translation + }) .input("4") .check.user.state("state_start") .check.user.lang("xho")