Removed unnecessary load of settings

- seems to save about a second locally for me - I'll take it!
This commit is contained in:
Hannah Wolfe 2021-11-18 15:29:35 +00:00
parent cc9e256b36
commit 79233b1181
3 changed files with 4 additions and 4 deletions

View File

@ -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];

View File

@ -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];

View File

@ -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];