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);