Yuki Takei 2 лет назад
Родитель
Сommit
479440b9c3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      apps/app/test/integration/service/v5.public-page.test.ts

+ 2 - 2
apps/app/test/integration/service/v5.public-page.test.ts

@@ -315,7 +315,7 @@ describe('PageService page operations with only public pages', () => {
         grant: Page.GRANT_PUBLIC,
         creator: dummyUser1,
         lastUpdateUser: dummyUser1._id,
-        parent: pageIdForRename16,
+        parent: childPageIdForRename7,
       },
       {
         _id: pageIdForRename17,
@@ -1398,7 +1398,7 @@ describe('PageService page operations with only public pages', () => {
       expect(pageDistination).toBeTruthy();
       expect(pageDistination.isEmpty).toBe(true);
 
-      const newPath = 'v5_ParentForRename11';
+      const newPath = '/v5_ParentForRename11';
       const renamedPage = await renamePage(page, newPath, dummyUser1, {}, {
         ip: '::ffff:127.0.0.1',
         endpoint: '/_api/v3/pages/rename',