mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 22:01:49 +03:00
Moved importer utils to general exporter utils
refs https://github.com/TryGhost/Team/issues/555 - Check previous commit for more context. This changeset is part of importer/exporter cleanup effort.
This commit is contained in:
parent
cc8fe3ad43
commit
341b2bb604
@ -21,7 +21,7 @@ const importOptions = {
|
||||
|
||||
const knex = db.knex;
|
||||
|
||||
const {exportedLatestBody} = require('./utils/fixtures');
|
||||
const {exportedLatestBody} = require('../../utils/fixtures/export/body-generator');
|
||||
|
||||
// Tests in here do an import for each test
|
||||
describe('Integration: Importer', function () {
|
||||
|
@ -2,7 +2,7 @@ const testUtils = require('../../utils');
|
||||
const importer = require('../../../core/server/data/importer');
|
||||
const dataImporter = importer.importers[1];
|
||||
|
||||
const {exportedLegacyBody} = require('./utils/fixtures');
|
||||
const {exportedLegacyBody} = require('../../utils/fixtures/export/body-generator');
|
||||
|
||||
const importOptions = {
|
||||
returnImportedData: true
|
||||
|
@ -1,5 +1,5 @@
|
||||
const testUtils = require('../../utils');
|
||||
const {exportedPreviousBody} = require('./utils/fixtures');
|
||||
const {exportedPreviousBody} = require('../../utils/fixtures/export/body-generator');
|
||||
|
||||
const models = require('../../../core/server/models');
|
||||
const importer = require('../../../core/server/data/importer');
|
||||
|
Loading…
Reference in New Issue
Block a user