From 4eeac834458cfc1819dfa03ce5bb0941fc19f1ac Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Tue, 12 Nov 2024 14:23:53 +0100 Subject: [PATCH] LPD-39725 Match order in modules/apps/sharing/sharing-service/service.xml --- .../service/test/DLFileEntrySharingEntryServiceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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