From 11fa2cb35ddd6117769cd3270a10b6a1a9986e69 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 20 Aug 2018 21:22:47 +0100 Subject: [PATCH] Fixup registry/lib/localfilesystem_spec after locales move --- test/unit/@node-red/registry/lib/localfilesystem_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/@node-red/registry/lib/localfilesystem_spec.js b/test/unit/@node-red/registry/lib/localfilesystem_spec.js index 879874945..f26c1529c 100644 --- a/test/unit/@node-red/registry/lib/localfilesystem_spec.js +++ b/test/unit/@node-red/registry/lib/localfilesystem_spec.js @@ -64,7 +64,7 @@ describe("red/nodes/registry/localfilesystem",function() { checkNodes(nm.nodes,['TestNode1','MultipleNodes1','NestedNode','TestNode2','TestNode3','TestNode4'],['TestNodeModule']); i18n.registerMessageCatalog.called.should.be.true(); i18n.registerMessageCatalog.lastCall.args[0].should.eql('node-red'); - i18n.registerMessageCatalog.lastCall.args[1].should.eql(path.resolve(path.join(resourcesDir,"core","locales"))); + i18n.registerMessageCatalog.lastCall.args[1].should.eql(path.resolve(path.join(resourcesDir,"locales"))); i18n.registerMessageCatalog.lastCall.args[2].should.eql('messages.json'); done(); }); @@ -161,7 +161,7 @@ describe("red/nodes/registry/localfilesystem",function() { i18n.registerMessageCatalog.called.should.be.true(); i18n.registerMessageCatalog.lastCall.args[0].should.eql('node-red'); - i18n.registerMessageCatalog.lastCall.args[1].should.eql(path.resolve(path.join(moduleDir,"core","locales"))); + i18n.registerMessageCatalog.lastCall.args[1].should.eql(path.resolve(path.join(moduleDir,"locales"))); i18n.registerMessageCatalog.lastCall.args[2].should.eql('messages.json');