diff --git a/Box.V2.Test.Integration/BoxFolderManagerIntegrationTest.cs b/Box.V2.Test.Integration/BoxFolderManagerIntegrationTest.cs index df1dce7c9..6065dc891 100644 --- a/Box.V2.Test.Integration/BoxFolderManagerIntegrationTest.cs +++ b/Box.V2.Test.Integration/BoxFolderManagerIntegrationTest.cs @@ -236,7 +236,7 @@ public async Task GetFolderItemsAsync_ForFolderWithSharedLink_ShouldReturnAllFol var sharedItems = await UserClient.SharedItemsManager.SharedItemsAsync(sharedLink.SharedLink.Url, password); var items = await UserClient.FoldersManager.GetFolderItemsAsync(sharedItems.Id, 100, sharedLink: sharedLink.SharedLink.Url, - sharedLinkPassword: password); + sharedLinkPassword: password, sort: "date"); Assert.AreEqual(items.TotalCount, 1); diff --git a/Box.V2/Models/BoxEnums.cs b/Box.V2/Models/BoxEnums.cs index 8d19bfb82..8ec124352 100644 --- a/Box.V2/Models/BoxEnums.cs +++ b/Box.V2/Models/BoxEnums.cs @@ -33,7 +33,9 @@ public enum BoxSortBy retention_policy_id, retention_policy_object_id, retention_policy_set_id, - interacted_at + interacted_at, + date, + size } ///