Skip to content

Commit

Permalink
LPS-194043 Only used once
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Aug 24, 2023
1 parent ebe34b3 commit f357090
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ public void setUp() throws Exception {

@Test
public void testGetFoldersAndArticlesCount() throws Exception {
ServiceContext serviceContext =
ServiceContextTestUtil.getServiceContext(_group.getGroupId());

JournalFolderFixture journalFolderFixture = new JournalFolderFixture(
_journalFolderLocalService);

Expand All @@ -70,7 +67,9 @@ public void testGetFoldersAndArticlesCount() throws Exception {
_group.getGroupId(), parentJournalFolder.getFolderId(),
RandomTestUtil.randomString());

_addExpiredJournalArticle(journalFolder, serviceContext);
_addExpiredJournalArticle(
journalFolder,
ServiceContextTestUtil.getServiceContext(_group.getGroupId()));
_addDeletedJournalArticle(journalFolder);

List<Long> folderIds = Arrays.asList(
Expand Down

0 comments on commit f357090

Please sign in to comment.