ci: update tests to pass for english

This is a temporary fix for the CI, we need to add the lang var
This commit is contained in:
Mrugesh Mohapatra
2018-10-12 04:46:24 +05:30
committed by mrugesh mohapatra
parent 7a860204af
commit 00c8f001f2
2 changed files with 2 additions and 2 deletions

View File

@ -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}`;

View File

@ -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'
)
};