Skip to content

Commit

Permalink
LPD-25204 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Nov 13, 2024
1 parent 62aeef4 commit 6cc313f
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,14 @@ private MockLiferayPortletActionRequest _getMockLiferayPortletActionRequest(
MockLiferayPortletActionRequest mockLiferayPortletActionRequest =
new MockLiferayPortletActionRequest();

mockLiferayPortletActionRequest.setAttribute(
WebKeys.THEME_DISPLAY, _getThemeDisplay());

mockLiferayPortletActionRequest.setParameter("state", state);
mockLiferayPortletActionRequest.setAttribute(
JavaConstants.JAVAX_PORTLET_CONFIG, _getLiferayPortletConfig());
mockLiferayPortletActionRequest.setAttribute(
JavaConstants.JAVAX_PORTLET_RESPONSE,
new MockLiferayPortletActionResponse());
mockLiferayPortletActionRequest.setAttribute(
WebKeys.THEME_DISPLAY, _getThemeDisplay());
mockLiferayPortletActionRequest.setParameter("state", state);

_addCookieSupportCookie(
(MockHttpServletRequest)
Expand All @@ -232,18 +231,16 @@ private MockLiferayPortletActionRequest _getMockLiferayPortletActionRequest(
MockLiferayPortletActionRequest mockLiferayPortletActionRequest =
new MockLiferayPortletActionRequest();

mockLiferayPortletActionRequest.setAttribute(
WebKeys.THEME_DISPLAY, _getThemeDisplay());

mockLiferayPortletActionRequest.setParameter(
"login", user.getEmailAddress());
mockLiferayPortletActionRequest.setParameter("password", password);

mockLiferayPortletActionRequest.setAttribute(
JavaConstants.JAVAX_PORTLET_CONFIG, _getLiferayPortletConfig());
mockLiferayPortletActionRequest.setAttribute(
JavaConstants.JAVAX_PORTLET_RESPONSE,
new MockLiferayPortletActionResponse());
mockLiferayPortletActionRequest.setAttribute(
WebKeys.THEME_DISPLAY, _getThemeDisplay());
mockLiferayPortletActionRequest.setParameter(
"login", user.getEmailAddress());
mockLiferayPortletActionRequest.setParameter("password", password);

_addCookieSupportCookie(
(MockHttpServletRequest)
Expand Down

0 comments on commit 6cc313f

Please sign in to comment.