yohei0125 před 4 roky
rodič
revize
c473a20dc1

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

@@ -188,10 +188,9 @@ describe('V5 page migration', () => {
       {
         _id: pageId8,
         path: '/normalize_10/normalize_11_gA',
-        grant: Page.GRANT_PUBLIC,
-        isEmpty: true,
-        parent: pageId7,
-        descendantCount: 1,
+        grant: Page.GRANT_USER_GROUP,
+        grantedGroup: groupIdA,
+        grantedUsers: [testUser1._id],
       },
       {
         _id: pageId9,