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());