mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Updated test to use the correct url service utils
- the integrationTesting utils are specific to the express mock style of testing - all other tests can use the url-service-utils to check the url service is finished
This commit is contained in:
parent
b804dcec30
commit
f652b3f164
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ const moment = require('moment');
|
|||
const path = require('path');
|
||||
const testUtils = require('../../utils');
|
||||
const configUtils = require('../../utils/configUtils');
|
||||
const urlServiceUtils = require('../../utils/url-service-utils');
|
||||
const cheerio = require('cheerio');
|
||||
const config = require('../../../core/shared/config');
|
||||
const api = require('../../../core/server/api');
|
||||
|
@ -643,7 +644,7 @@ describe('Dynamic Routing', function () {
|
|||
path: path.join(config.get('paths:appRoot'), 'test', 'utils', 'fixtures', 'settings', 'newroutes.yaml')
|
||||
}
|
||||
}).then(() => {
|
||||
return testUtils.integrationTesting.urlService.isFinished({disableDbReadyEvent: true});
|
||||
return urlServiceUtils.isFinished({disableDbReadyEvent: true});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue