mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05: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 changed files with 0 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
const should = require('should');
|
const should = require('should');
|
||||||
const sinon = require('sinon');
|
const sinon = require('sinon');
|
||||||
const _ = require('lodash');
|
|
||||||
const testUtils = require('../../utils');
|
const testUtils = require('../../utils');
|
||||||
const localUtils = require('./utils');
|
const localUtils = require('./utils');
|
||||||
const adminUtils = require('../../utils/admin-utils');
|
const adminUtils = require('../../utils/admin-utils');
|
||||||
|
@ -31,9 +30,6 @@ describe('Integration - Web - vhosts', function () {
|
||||||
configUtils.set('url', 'http://example.com');
|
configUtils.set('url', 'http://example.com');
|
||||||
configUtils.set('admin:url', null);
|
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();
|
app = await localUtils.initGhost();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue