mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Removed unnecessary load of settings
- seems to save about a second locally for me - I'll take it!
This commit is contained in:
parent
cc9e256b36
commit
79233b1181
@ -10,7 +10,7 @@ const importOptions = {
|
||||
|
||||
describe('Importer Legacy', function () {
|
||||
beforeEach(testUtils.teardownDb);
|
||||
beforeEach(testUtils.setup('roles', 'owner', 'settings'));
|
||||
beforeEach(testUtils.setup('roles', 'owner'));
|
||||
|
||||
it('disallows importing Legacy imports', function () {
|
||||
const exportData = exportedBodyLegacy().db[0];
|
||||
|
@ -11,7 +11,7 @@ const importOptions = {
|
||||
|
||||
describe('Importer 1.0', function () {
|
||||
beforeEach(testUtils.teardownDb);
|
||||
beforeEach(testUtils.setup('roles', 'owner', 'settings'));
|
||||
beforeEach(testUtils.setup('roles', 'owner'));
|
||||
|
||||
it('ensure amp field get\'s respected', function () {
|
||||
const exportData = exportedBodyV1().db[0];
|
||||
|
@ -37,7 +37,7 @@ describe('Importer', function () {
|
||||
});
|
||||
|
||||
describe('Empty database (except of owner user), general tests', function () {
|
||||
beforeEach(testUtils.setup('roles', 'owner', 'settings'));
|
||||
beforeEach(testUtils.setup('roles', 'owner'));
|
||||
|
||||
it('ensure return structure', function () {
|
||||
let exportData;
|
||||
@ -1226,7 +1226,7 @@ describe('Importer', function () {
|
||||
|
||||
describe('Existing database', function () {
|
||||
beforeEach(testUtils.teardownDb);
|
||||
beforeEach(testUtils.setup('users:roles', 'posts', 'settings'));
|
||||
beforeEach(testUtils.setup('users:roles', 'posts'));
|
||||
|
||||
it('import multiple users, tags, posts', function () {
|
||||
const exportData = exportedBodyV2().db[0];
|
||||
|
Loading…
Reference in New Issue
Block a user