diff --git a/modules/apps/users-admin/users-admin-test/src/testIntegration/java/com/liferay/users/admin/change/tracking/test/UsersAdminPortletTest.java b/modules/apps/users-admin/users-admin-test/src/testIntegration/java/com/liferay/users/admin/change/tracking/test/UsersAdminPortletTest.java index 7746bb60a94bdb..d4d9584b8f712b 100644 --- a/modules/apps/users-admin/users-admin-test/src/testIntegration/java/com/liferay/users/admin/change/tracking/test/UsersAdminPortletTest.java +++ b/modules/apps/users-admin/users-admin-test/src/testIntegration/java/com/liferay/users/admin/change/tracking/test/UsersAdminPortletTest.java @@ -729,6 +729,14 @@ private void _processActionRequestInPublication( MockLiferayPortletActionRequest mockLiferayPortletActionRequest = new MockLiferayPortletActionRequest(); + mockLiferayPortletActionRequest.addParameter( + ActionRequest.ACTION_NAME, actionName); + + for (Map.Entry entry : params.entrySet()) { + mockLiferayPortletActionRequest.addParameter( + entry.getKey(), entry.getValue()); + } + mockLiferayPortletActionRequest.setAttribute( PortletServlet.PORTLET_SERVLET_REQUEST, mockLiferayPortletActionRequest.getHttpServletRequest()); @@ -738,14 +746,6 @@ private void _processActionRequestInPublication( mockLiferayPortletActionRequest.setAttribute( WebKeys.THEME_DISPLAY, _getThemeDisplay()); - mockLiferayPortletActionRequest.addParameter( - ActionRequest.ACTION_NAME, actionName); - - for (Map.Entry entry : params.entrySet()) { - mockLiferayPortletActionRequest.addParameter( - entry.getKey(), entry.getValue()); - } - LiferayActionRequest liferayActionRequest = ActionRequestFactory.create( mockLiferayPortletActionRequest.getHttpServletRequest(), _portletLocalService.getPortletById(