diff --git a/test/utils/db-utils.js b/test/utils/db-utils.js index b966a18c96..0f7dafdd0d 100644 --- a/test/utils/db-utils.js +++ b/test/utils/db-utils.js @@ -6,7 +6,6 @@ const KnexMigrator = require('knex-migrator'); const knexMigrator = new KnexMigrator(); // Ghost Internals -const {events} = require('../../core/server/lib/common'); const config = require('../../core/shared/config'); const db = require('../../core/server/data/db'); const schema = require('../../core/server/data/schema').tables; diff --git a/test/utils/fixture-utils.js b/test/utils/fixture-utils.js index 59ccfbda58..b62a4c7e81 100644 --- a/test/utils/fixture-utils.js +++ b/test/utils/fixture-utils.js @@ -15,7 +15,6 @@ const emailAnalyticsService = require('../../core/server/services/email-analytic const permissions = require('../../core/server/services/permissions'); const settingsService = require('../../core/server/services/settings'); const settingsCache = require('../../core/server/services/settings/cache'); -const themeService = require('../../core/frontend/services/themes'); // Other Test Utilities const context = require('./fixtures/context'); @@ -595,9 +594,6 @@ const toDoList = { invites: function insertInvites() { return fixtures.insertInvites(); }, - themes: function loadThemes() { - return themeService.loadAll(); - }, webhooks: function insertWebhooks() { return fixtures.insertWebhooks(); }, diff --git a/test/utils/index.js b/test/utils/index.js index f63b52a440..7071618c09 100644 --- a/test/utils/index.js +++ b/test/utils/index.js @@ -14,10 +14,8 @@ const knexMigrator = new KnexMigrator(); // Ghost Internals const config = require('../../core/shared/config'); const boot = require('../../core/boot'); -const {events} = require('../../core/server/lib/common'); const db = require('../../core/server/data/db'); const models = require('../../core/server/models'); -const notify = require('../../core/server/notify'); const urlService = require('../../core/frontend/services/url'); const settingsService = require('../../core/server/services/settings'); const frontendSettingsService = require('../../core/frontend/services/settings');