From cd6b9d9ed690e08d393654825273b0e64d3214fe Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 26 Jul 2017 17:20:21 -0400 Subject: [PATCH] updated service name --- service/configurations/Language.js | 2 +- test/unit/service/configurations/Language.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/service/configurations/Language.js b/service/configurations/Language.js index 3397f1e4..ef528d38 100644 --- a/service/configurations/Language.js +++ b/service/configurations/Language.js @@ -8,7 +8,7 @@ const ServiceConfiguration = require('pelias-microservice-wrapper').ServiceConfi class Language extends ServiceConfiguration { constructor(o) { - super('placeholder.language', o); + super('language', o); } getParameters(req, res) { diff --git a/test/unit/service/configurations/Language.js b/test/unit/service/configurations/Language.js index db7ff261..72cfb7d3 100644 --- a/test/unit/service/configurations/Language.js +++ b/test/unit/service/configurations/Language.js @@ -3,7 +3,7 @@ module.exports.tests = {}; const Language = require('../../../../service/configurations/Language'); module.exports.tests.all = (test, common) => { - test('getName should return \'placeholder.language\'', (t) => { + test('getName should return \'language\'', (t) => { const configBlob = { url: 'http://localhost:1234', timeout: 17, @@ -12,7 +12,7 @@ module.exports.tests.all = (test, common) => { const language = new Language(configBlob); - t.equals(language.getName(), 'placeholder.language'); + t.equals(language.getName(), 'language'); t.equals(language.getBaseUrl(), 'http://localhost:1234/'); t.equals(language.getTimeout(), 17); t.equals(language.getRetries(), 19);