diff --git a/test/regression/mock-express-style/api-vs-frontend/canary.test.js b/test/regression/mock-express-style/api-vs-frontend.test.js similarity index 99% rename from test/regression/mock-express-style/api-vs-frontend/canary.test.js rename to test/regression/mock-express-style/api-vs-frontend.test.js index 8c4331825c..1a464432ab 100644 --- a/test/regression/mock-express-style/api-vs-frontend/canary.test.js +++ b/test/regression/mock-express-style/api-vs-frontend.test.js @@ -2,13 +2,13 @@ const should = require('should'); const sinon = require('sinon'); const _ = require('lodash'); const cheerio = require('cheerio'); -const testUtils = require('../../../utils'); -const localUtils = require('../utils'); -const configUtils = require('../../../utils/configUtils'); -const urlUtils = require('../../../utils/urlUtils'); +const testUtils = require('../../utils'); +const localUtils = require('./utils'); +const configUtils = require('../../utils/configUtils'); +const urlUtils = require('../../utils/urlUtils'); -const routeSettingsService = require('../../../../core/server/services/route-settings'); -const themeEngine = require('../../../../core/frontend/services/theme-engine'); +const routeSettingsService = require('../../../core/server/services/route-settings'); +const themeEngine = require('../../../core/frontend/services/theme-engine'); describe('Integration - Web - Site canary', function () { let app; @@ -35,7 +35,7 @@ describe('Integration - Web - Site canary', function () { beforeEach(function () { sinon.stub(themeEngine.getActive(), 'engine').withArgs('ghost-api').returns('canary'); sinon.stub(themeEngine.getActive(), 'config').withArgs('posts_per_page').returns(2); - const postsAPI = require('../../../../core/server/api/canary/posts-public'); + const postsAPI = require('../../../core/server/api/canary/posts-public'); postSpy = sinon.spy(postsAPI.browse, 'query'); }); diff --git a/test/regression/mock-express-style/parent_app_vhosts.test.js b/test/regression/mock-express-style/parent-app-vhosts.test.js similarity index 100% rename from test/regression/mock-express-style/parent_app_vhosts.test.js rename to test/regression/mock-express-style/parent-app-vhosts.test.js