Browse Source

refactor test

yuken 3 years ago
parent
commit
3619474622
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/test/integration/service/v5.non-public-page.test.ts

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

@@ -787,7 +787,7 @@ describe('PageService page operations with non-public pages', () => {
         expect(_pageN.parent).toStrictEqual(_page2._id);
         expect(_pageT.descendantCount).toStrictEqual(1);
         // isGrantNormalized is called when GRANT PUBLIC
-        expect(isGrantNormalizedSpy).toBeCalledTimes(0);
+        expect(isGrantNormalizedSpy).toBeCalledTimes(1);
       });
     });