diff --git a/modules/apps/sharing/sharing-document-library-test/src/testIntegration/java/com/liferay/sharing/document/library/internal/service/test/DLFileEntrySharingEntryServiceTest.java b/modules/apps/sharing/sharing-document-library-test/src/testIntegration/java/com/liferay/sharing/document/library/internal/service/test/DLFileEntrySharingEntryServiceTest.java index c0def5d35a338c..0382a7c6e98449 100644 --- a/modules/apps/sharing/sharing-document-library-test/src/testIntegration/java/com/liferay/sharing/document/library/internal/service/test/DLFileEntrySharingEntryServiceTest.java +++ b/modules/apps/sharing/sharing-document-library-test/src/testIntegration/java/com/liferay/sharing/document/library/internal/service/test/DLFileEntrySharingEntryServiceTest.java @@ -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