Przeglądaj źródła

imprv variables

kaori 3 lat temu
rodzic
commit
fe37c3c1fb

+ 3 - 3
packages/app/test/integration/service/page-grant.test.js

@@ -48,9 +48,9 @@ describe('PageGrantService', () => {
   const pageRootAnyoneWithTheLinkPagePath = '/AnyoneWithTheLink';
   const pageRootOnlyInsideTheGroupPagePath = '/OnlyInsideTheGroup';
 
-  const pagePublicOnlyMePath = '/Public/OnlyMe';
-  const pagePublicAnyoneWithTheLinkPath = '/Public/AnyoneWithTheLink';
-  const pagePublicOnlyInsideTheGroupPath = '/Public/OnlyInsideTheGroup';
+  const pagePublicOnlyMePath = `${pageRootPublicPath}/OnlyMe`;
+  const pagePublicAnyoneWithTheLinkPath = `${pageRootPublicPath}/AnyoneWithTheLink`;
+  const pagePublicOnlyInsideTheGroupPath = `${pageRootPublicPath}/OnlyInsideTheGroup`;
 
   let pageE1Public;
   let pageE2User1;