Skip to content

Commit

Permalink
LPS-140066 sort what can be sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Oct 8, 2021
1 parent 7b0f0ba commit f0aba91
Showing 1 changed file with 8 additions and 10 deletions.
Expand Up @@ -88,8 +88,15 @@ public class TemplateInfoItemFieldSetProviderTest {
public void setUp() throws Exception {
_group = GroupTestUtil.addGroup();

_company = _companyLocalService.getCompany(_group.getCompanyId());
_assetVocabulary = AssetTestUtil.addVocabulary(_group.getGroupId());

_assetCategory = AssetTestUtil.addCategory(
_group.getGroupId(), _assetVocabulary.getVocabularyId());

_company = _companyLocalService.getCompany(_group.getCompanyId());
_journalArticle = JournalTestUtil.addArticle(
_group.getGroupId(),
JournalFolderConstants.DEFAULT_PARENT_FOLDER_ID);
_layout = LayoutTestUtil.addLayout(_group);

_serviceContext = ServiceContextTestUtil.getServiceContext(
Expand All @@ -101,15 +108,6 @@ public void setUp() throws Exception {
_getMockHttpServletRequest(_getThemeDisplay()));

ServiceContextThreadLocal.pushServiceContext(_serviceContext);

_journalArticle = JournalTestUtil.addArticle(
_group.getGroupId(),
JournalFolderConstants.DEFAULT_PARENT_FOLDER_ID);

_assetVocabulary = AssetTestUtil.addVocabulary(_group.getGroupId());

_assetCategory = AssetTestUtil.addCategory(
_group.getGroupId(), _assetVocabulary.getVocabularyId());
}

@Test
Expand Down

0 comments on commit f0aba91

Please sign in to comment.