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
This commit is contained in:
Naz 2021-11-22 11:32:59 +04:00 committed by naz
parent 917641be4f
commit f0ae7592cf

View File

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