Skip to content

Commit

Permalink
LPD-2612 as used
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom authored and marcosapmf committed Jun 6, 2024
1 parent 433d94c commit 0820942
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,16 @@ public void testIsShowWithIsShowAnalyticsReportsInfoItemWithNullLiferayAnalytics

@Test
public void testIsShowWithResourcePermission() throws Exception {
long plid = 123L;

PortletPreferences portletPreferences = new PortletPreferencesImpl();

portletPreferences.setPortletPreferencesId(RandomTestUtil.nextLong());
portletPreferences.setCompanyId(TestPropsValues.getCompanyId());
portletPreferences.setOwnerId(TestPropsValues.getUserId());

long plid = 123L;

portletPreferences.setPlid(plid);

portletPreferences.setPortletId(
"com_liferay_blogs_web_portlet_BlogsPortlet_INSTANCE_rqst");
portletPreferences.setNew(true);
Expand Down

0 comments on commit 0820942

Please sign in to comment.