Skip to content

Commit

Permalink
fix: Fix Portal Cache API usage in Test context - MEED-7574 - Meeds-i…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Oct 3, 2024
1 parent 55d8243 commit 0d7eedd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ protected void createSite(SiteType type, String siteName) throws Exception {
null,
null,
Collections.emptyList(),
Collections.emptyList(),
Collections.emptyList(),
Collections.emptyList());
PortalData portal = new PortalData(null,
siteName,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.exoplatform.migration;

import org.exoplatform.commons.persistence.impl.EntityManagerService;
import org.exoplatform.commons.upgrade.UpgradePluginExecutionContext;
import org.exoplatform.commons.utils.CommonsUtils;
import org.exoplatform.component.test.AbstractKernelTest;
import org.exoplatform.component.test.ConfigurationUnit;
Expand All @@ -11,14 +10,11 @@
import org.exoplatform.container.PortalContainer;
import org.exoplatform.container.component.RequestLifeCycle;
import org.exoplatform.container.xml.InitParams;
import org.exoplatform.container.xml.ValueParam;
import org.exoplatform.portal.config.model.PortalConfig;
import org.exoplatform.portal.jdbc.entity.NodeEntity;
import org.exoplatform.portal.jdbc.entity.PermissionEntity;
import org.exoplatform.portal.jdbc.entity.SiteEntity;
import org.exoplatform.portal.mop.SiteKey;
import org.exoplatform.portal.mop.SiteType;
import org.exoplatform.portal.mop.dao.NodeDAO;
import org.exoplatform.portal.mop.dao.PermissionDAO;
import org.exoplatform.portal.mop.dao.SiteDAO;
import org.exoplatform.portal.mop.navigation.*;
Expand Down Expand Up @@ -112,8 +108,6 @@ protected void createSite(SiteType type, String siteName) throws Exception {
null,
null,
Collections.emptyList(),
Collections.emptyList(),
Collections.emptyList(),
Collections.emptyList());
PortalData portal = new PortalData(null,
siteName,
Expand Down

0 comments on commit 0d7eedd

Please sign in to comment.