mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
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:
parent
917641be4f
commit
f0ae7592cf
@ -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();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user