Skip to content

Commit

Permalink
LPD-39725 Match order in modules/apps/sharing/sharing-service/service…
Browse files Browse the repository at this point in the history
….xml
  • Loading branch information
brianchandotcom committed Nov 12, 2024
1 parent f4187a9 commit 4eeac83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,18 @@ public void testAddSharingEntryViewActionAddsDownloadAction()
SharingEntry sharingEntry = _addSharingEntry(
classNameId, classPK, expirationDate);

Assert.assertEquals(_group.getCompanyId(), sharingEntry.getCompanyId());
Assert.assertEquals(_group.getGroupId(), sharingEntry.getGroupId());
Assert.assertEquals(_group.getCompanyId(), sharingEntry.getCompanyId());
Assert.assertEquals(_fromUser.getUserId(), sharingEntry.getUserId());
Assert.assertEquals(_toUser.getUserId(), sharingEntry.getToUserId());
Assert.assertEquals(classNameId, sharingEntry.getClassNameId());
Assert.assertEquals(classPK, sharingEntry.getClassPK());
Assert.assertTrue(sharingEntry.isShareable());
Assert.assertEquals(expirationDate, sharingEntry.getExpirationDate());
Assert.assertEquals(
SharingEntryAction.DOWNLOAD.getBitwiseValue() |
SharingEntryAction.VIEW.getBitwiseValue(),
sharingEntry.getActionIds());
Assert.assertEquals(expirationDate, sharingEntry.getExpirationDate());
}

@Test
Expand Down

0 comments on commit 4eeac83

Please sign in to comment.