Taichi Masuyama пре 4 година
родитељ
комит
c403571ba2
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      packages/app/test/integration/service/v5.migration.test.js

+ 2 - 0
packages/app/test/integration/service/v5.migration.test.js

@@ -16,6 +16,8 @@ describe('V5 page migration', () => {
     Page = mongoose.model('Page');
     User = mongoose.model('User');
 
+    await crowi.configManager.updateConfigsInTheSameNamespace('crowi', { 'app:isV5Compatible': true });
+
     await User.insertMany([{ name: 'testUser1', username: 'testUser1', email: 'testUser1@example.com' }]);
     testUser1 = await User.findOne({ username: 'testUser1' });
   });