From 8167e7875f59773e7737b7853a7dbf9c6ddeb406 Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Mon, 18 Nov 2024 12:07:40 +0100 Subject: [PATCH] LPD-42253 SF --- .../portlet/action/test/CopyLayoutMVCActionCommandTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/apps/layout/layout-admin-web-test/src/testIntegration/java/com/liferay/layout/admin/web/internal/portlet/action/test/CopyLayoutMVCActionCommandTest.java b/modules/apps/layout/layout-admin-web-test/src/testIntegration/java/com/liferay/layout/admin/web/internal/portlet/action/test/CopyLayoutMVCActionCommandTest.java index 77feb730d936b6..4db7eac59b8350 100644 --- a/modules/apps/layout/layout-admin-web-test/src/testIntegration/java/com/liferay/layout/admin/web/internal/portlet/action/test/CopyLayoutMVCActionCommandTest.java +++ b/modules/apps/layout/layout-admin-web-test/src/testIntegration/java/com/liferay/layout/admin/web/internal/portlet/action/test/CopyLayoutMVCActionCommandTest.java @@ -426,9 +426,6 @@ private void _processAction( MockLiferayPortletActionRequest mockLiferayPortletActionRequest = new MockLiferayPortletActionRequest(); - mockLiferayPortletActionRequest.setAttribute( - WebKeys.THEME_DISPLAY, _getThemeDisplay()); - mockLiferayPortletActionRequest.addParameter( "copyPermissions", String.valueOf(copyPermissions)); mockLiferayPortletActionRequest.addParameter( @@ -444,6 +441,9 @@ private void _processAction( entry.getKey(), entry.getValue()); } + mockLiferayPortletActionRequest.setAttribute( + WebKeys.THEME_DISPLAY, _getThemeDisplay()); + _mvcActionCommand.processAction( mockLiferayPortletActionRequest, new MockLiferayPortletActionResponse());