Taichi Masuyama 4 yıl önce
ebeveyn
işleme
f6c209f005

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

@@ -59,7 +59,7 @@ describe('V5 page migration', () => {
 
       const pageIds = pages.map(page => page._id);
       // migrate
-      await crowi.pageService.normalizeParentRecursivelyByPageIds(pageIds, testUser1);
+      await crowi.pageService.normalizeParentByPageIds(pageIds, testUser1, true);
 
       const migratedPages = await Page.find({
         path: {