diff --git a/lib/commands/new/wizard-helper.js b/lib/commands/new/wizard-helper.js index 33029d9d..948f660e 100644 --- a/lib/commands/new/wizard-helper.js +++ b/lib/commands/new/wizard-helper.js @@ -85,7 +85,9 @@ function _getSkillLocale(userInput, callback) { if (userInput.deploymentType !== CONSTANTS.DEPLOYER_TYPE.HOSTED.NAME) { return callback(); } - ui.getSkillLocale((err, res) => callback(err || null, res)); + // FIX hard coding until backend for hosted skills supports all locales + callback(null, 'en-US'); + // ui.getSkillLocale((err, res) => callback(err || null, res)); } function _getSkillDefaultRegion(userInput, callback) { diff --git a/test/unit/commands/new/wizard-helper-test.js b/test/unit/commands/new/wizard-helper-test.js index 262ac0fb..26c8b56c 100644 --- a/test/unit/commands/new/wizard-helper-test.js +++ b/test/unit/commands/new/wizard-helper-test.js @@ -89,7 +89,7 @@ describe('Commands new test - wizard helper test', () => { }); }); - it('| user input getSkillLocale fails, expect throw error', (done) => { + it.skip('| user input getSkillLocale fails, expect throw error', (done) => { // setup ui.selectSkillCodeLanguage.yields(null, TEST_LANGUAGE_RESPONSE); ui.getDeploymentType.yields(null, TEST_HOSTED_DEPLOYMENT);