Skip to content

Commit

Permalink
add xhosa translation to test
Browse files Browse the repository at this point in the history
  • Loading branch information
moh-moola committed Jul 22, 2020
1 parent a4abe38 commit c9a535f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/ussd_higherhealth_healthcheck.test.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit c9a535f

Please sign in to comment.