From f0ae7592cf066b5b30e072a45774d363c4c34e3b Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 22 Nov 2021 11:32:59 +0400 Subject: [PATCH] Removed unneeded mocks refs https://github.com/TryGhost/Toolbox/issues/135 - These mocks were failing to execute but didn't make any difference in the test outcome --- test/regression/mock-express-style/parent_app_vhosts.test.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/regression/mock-express-style/parent_app_vhosts.test.js b/test/regression/mock-express-style/parent_app_vhosts.test.js index b8f8076c19..0f4e14733d 100644 --- a/test/regression/mock-express-style/parent_app_vhosts.test.js +++ b/test/regression/mock-express-style/parent_app_vhosts.test.js @@ -1,6 +1,5 @@ const should = require('should'); const sinon = require('sinon'); -const _ = require('lodash'); const testUtils = require('../../utils'); const localUtils = require('./utils'); const adminUtils = require('../../utils/admin-utils'); @@ -31,9 +30,6 @@ describe('Integration - Web - vhosts', function () { configUtils.set('url', 'http://example.com'); configUtils.set('admin:url', null); - sinon.stub(themeEngine.getActive(), 'engine').withArgs('ghost-api').returns('v2'); - sinon.stub(themeEngine.getActive(), 'config').withArgs('posts_per_page').returns(2); - app = await localUtils.initGhost(); });