From 08c699d8b259e1632afd7c55d22edb021e23891d Mon Sep 17 00:00:00 2001 From: GouadriaHanen <49310007+GouadriaHanen@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:01:11 +0100 Subject: [PATCH] feat: Fix build failure due to add new attribute for portalConfig - EXO-65966 - Meeds-io/MIPs#72 (#166) --- .../exoplatform/migration/NavigationNodesMigrationTest.java | 4 +++- .../migration/PortalConfigPermissionMigrationTest.java | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/data-upgrade-navigations/src/test/java/org/exoplatform/migration/NavigationNodesMigrationTest.java b/data-upgrade-navigations/src/test/java/org/exoplatform/migration/NavigationNodesMigrationTest.java index 35b484040..0f8ac2919 100644 --- a/data-upgrade-navigations/src/test/java/org/exoplatform/migration/NavigationNodesMigrationTest.java +++ b/data-upgrade-navigations/src/test/java/org/exoplatform/migration/NavigationNodesMigrationTest.java @@ -178,7 +178,9 @@ protected void createSite(SiteType type, String siteName) throws Exception { null, null, container, - null); + null, + true, + 5); this.layoutService.create(new PortalConfig(portal)); NavigationContext nav = new NavigationContext(type.key(siteName), new NavigationState(1)); diff --git a/data-upgrade-navigations/src/test/java/org/exoplatform/migration/PortalConfigPermissionMigrationTest.java b/data-upgrade-navigations/src/test/java/org/exoplatform/migration/PortalConfigPermissionMigrationTest.java index 0183d7f7f..45b1a3f92 100644 --- a/data-upgrade-navigations/src/test/java/org/exoplatform/migration/PortalConfigPermissionMigrationTest.java +++ b/data-upgrade-navigations/src/test/java/org/exoplatform/migration/PortalConfigPermissionMigrationTest.java @@ -124,7 +124,9 @@ protected void createSite(SiteType type, String siteName) throws Exception { null, null, container, - null); + null, + true, + 8); this.layoutService.create(new PortalConfig(portal)); NavigationContext navigation = new NavigationContext(type.key(siteName), new NavigationState(1));