Skip to content

Commit

Permalink
LPD-36848 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Sep 20, 2024
1 parent bcddb66 commit e269961
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ private ThemeDisplay _getThemeDisplay(

Layout layout = LayoutTestUtil.addTypeContentLayout(_group);

LayoutSet layoutSet = layout.getLayoutSet();

themeDisplay.setLayout(layout);

LayoutSet layoutSet = layout.getLayoutSet();

themeDisplay.setLayoutSet(layoutSet);

themeDisplay.setLocale(LocaleUtil.US);
Expand All @@ -236,9 +236,7 @@ private ThemeDisplay _getThemeDisplay(
themeDisplay.setPermissionChecker(
PermissionCheckerFactoryUtil.create(TestPropsValues.getUser()));
themeDisplay.setPpid(TranslationPortletKeys.TRANSLATION);

themeDisplay.setRequest(mockHttpServletRequest);

themeDisplay.setScopeGroupId(_group.getGroupId());
themeDisplay.setSiteGroupId(_group.getGroupId());
themeDisplay.setUser(TestPropsValues.getUser());
Expand Down

0 comments on commit e269961

Please sign in to comment.