Explorar o código

change test name

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
bf5ab60099
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/test/integration/service/v5.page.test.ts

+ 1 - 1
packages/app/test/integration/service/v5.page.test.ts

@@ -1014,7 +1014,7 @@ describe('PageService page operations with only public pages', () => {
 
 
       expect(isThrown).toBe(true);
       expect(isThrown).toBe(true);
     });
     });
-    test('Rename: pages:["/a", "/a/b"] => rename "/a" "/a/b/a"', async() => {
+    test('Rename non-empty page path to its descendant non-empty page path', async() => {
       const page1 = await Page.findOne({ path: '/v5_pageForRename17', isEmpty: false });
       const page1 = await Page.findOne({ path: '/v5_pageForRename17', isEmpty: false });
       const page2 = await Page.findOne({ path: '/v5_pageForRename17/v5_pageForRename18', isEmpty: false, parent: page1._id });
       const page2 = await Page.findOne({ path: '/v5_pageForRename17/v5_pageForRename18', isEmpty: false, parent: page1._id });
       expectAllToBeTruthy([page1, page2]);
       expectAllToBeTruthy([page1, page2]);