Skip to content

Commit 2b72b6b

Browse files
LPD-78504 Sort
1 parent 2169df0 commit 2b72b6b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

modules/apps/blogs/blogs-web-test/src/testIntegration/java/com/liferay/blogs/web/internal/info/item/provider/test/BlogsEntryInfoItemFieldValuesProviderTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,9 @@ private FileEntry _getTempFileEntry(
283283
private ThemeDisplay _getThemeDisplay() throws Exception {
284284
ThemeDisplay themeDisplay = new ThemeDisplay();
285285

286+
themeDisplay.setCompany(
287+
_companyLocalService.getCompany(_group.getCompanyId()));
288+
286289
MockHttpServletRequest mockHttpServletRequest =
287290
new MockHttpServletRequest();
288291

@@ -291,8 +294,6 @@ private ThemeDisplay _getThemeDisplay() throws Exception {
291294

292295
themeDisplay.setRequest(mockHttpServletRequest);
293296

294-
themeDisplay.setCompany(
295-
_companyLocalService.getCompany(_group.getCompanyId()));
296297
themeDisplay.setScopeGroupId(_group.getGroupId());
297298
themeDisplay.setSiteGroupId(_group.getGroupId());
298299
themeDisplay.setURLCurrent("http://localhost:8080/currentURL");

modules/apps/content-dashboard/content-dashboard-journal-test/src/testIntegration/java/com/liferay/content/dashboard/journal/internal/item/action/provider/test/PreviewImageJournalArticleContentDashboardItemActionProviderTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ private File _getSmallImage() throws Exception {
269269
private ThemeDisplay _getThemeDisplay() throws Exception {
270270
ThemeDisplay themeDisplay = new ThemeDisplay();
271271

272+
themeDisplay.setCompany(
273+
_companyLocalService.getCompany(_group.getCompanyId()));
274+
272275
MockHttpServletRequest mockHttpServletRequest =
273276
new MockHttpServletRequest();
274277

@@ -277,8 +280,6 @@ private ThemeDisplay _getThemeDisplay() throws Exception {
277280

278281
themeDisplay.setRequest(mockHttpServletRequest);
279282

280-
themeDisplay.setCompany(
281-
_companyLocalService.getCompany(_group.getCompanyId()));
282283
themeDisplay.setScopeGroupId(_group.getGroupId());
283284
themeDisplay.setSiteGroupId(_group.getGroupId());
284285
themeDisplay.setURLCurrent("http://localhost:8080/currentURL");

0 commit comments

Comments
 (0)