Explorar o código

remove parent expectation

yohei0125 %!s(int64=3) %!d(string=hai) anos
pai
achega
6227374350
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      packages/app/test/integration/models/v5.page.test.js

+ 0 - 1
packages/app/test/integration/models/v5.page.test.js

@@ -745,7 +745,6 @@ describe('Page', () => {
 
 
           expect(page1.grant).toBe(Page.GRANT_USER_GROUP);
           expect(page1.grant).toBe(Page.GRANT_USER_GROUP);
           expect(page1.grantedGroup._id).toStrictEqual(groupIdA);
           expect(page1.grantedGroup._id).toStrictEqual(groupIdA);
-          expect(page1.parent).toStrictEqual(rootPage._id);
         });
         });
 
 
         test('successfully change to GRANT_USER_GROUP from GRANT_OWNER if parent page is GRANT_PUBLIC', async() => {
         test('successfully change to GRANT_USER_GROUP from GRANT_OWNER if parent page is GRANT_PUBLIC', async() => {