From e269961493a8d2e312c4fa0109ddfdbf7fc57e6e Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Fri, 20 Sep 2024 10:06:50 -0300 Subject: [PATCH] LPD-36848 SF --- .../portlet/action/test/TranslateMVCRenderCommandTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/apps/translation/translation-test/src/testIntegration/java/com/liferay/translation/web/internal/portlet/action/test/TranslateMVCRenderCommandTest.java b/modules/apps/translation/translation-test/src/testIntegration/java/com/liferay/translation/web/internal/portlet/action/test/TranslateMVCRenderCommandTest.java index 14b9bf70739d2b..b67a12d7d2da17 100644 --- a/modules/apps/translation/translation-test/src/testIntegration/java/com/liferay/translation/web/internal/portlet/action/test/TranslateMVCRenderCommandTest.java +++ b/modules/apps/translation/translation-test/src/testIntegration/java/com/liferay/translation/web/internal/portlet/action/test/TranslateMVCRenderCommandTest.java @@ -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); @@ -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());