From 00c8f001f28d5c3fe250ce3b286595a366999605 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Fri, 12 Oct 2018 04:46:24 +0530 Subject: [PATCH] ci: update tests to pass for english This is a temporary fix for the CI, we need to add the lang var --- client/plugins/fcc-create-nav-data/create-navigation-node.js | 2 +- .../plugins/fcc-create-nav-data/create-navigation-node.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/plugins/fcc-create-nav-data/create-navigation-node.js b/client/plugins/fcc-create-nav-data/create-navigation-node.js index a4f67ed844..486c08d49a 100644 --- a/client/plugins/fcc-create-nav-data/create-navigation-node.js +++ b/client/plugins/fcc-create-nav-data/create-navigation-node.js @@ -5,7 +5,7 @@ const commonREs = require('../../utils/regEx'); const readDir = require('../../utils/readDir'); const { isAStubRE } = commonREs; -const pagesDir = path.resolve(__dirname, '../../src/pages/guide'); +const pagesDir = path.resolve(__dirname, '../../src/pages/guide/english/'); function withGuidePrefix(str) { return `/guide${str}`; diff --git a/client/plugins/fcc-create-nav-data/create-navigation-node.test.js b/client/plugins/fcc-create-nav-data/create-navigation-node.test.js index 625908ac72..d240e0b673 100644 --- a/client/plugins/fcc-create-nav-data/create-navigation-node.test.js +++ b/client/plugins/fcc-create-nav-data/create-navigation-node.test.js @@ -25,7 +25,7 @@ describe('fcc-create-nav-data', () => { }, fileAbsolutePath: path.resolve( __dirname, - '../../src/pages/guide/php/functions/files/file-writing/index.md' + '../../src/pages/guide/english/php/functions/files/file-writing/index.md' ) };