mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
77228: Fix line length
This commit is contained in:
@@ -289,11 +289,15 @@ public class BrowsesResourceControllerIT extends AbstractControllerIntegrationTe
|
|||||||
//Check the embedded resources and that they're sorted alphabetically
|
//Check the embedded resources and that they're sorted alphabetically
|
||||||
//Check that the subject matches as expected
|
//Check that the subject matches as expected
|
||||||
//Verify that they're sorted alphabetically
|
//Verify that they're sorted alphabetically
|
||||||
.andExpect(jsonPath("$._embedded.entries",
|
.andExpect(
|
||||||
containsInAnyOrder(BrowseEntryResourceMatcher.matchBrowseEntry("Missionary studies", "VR110104", 1),
|
jsonPath("$._embedded.entries",
|
||||||
BrowseEntryResourceMatcher.matchBrowseEntry("History of religion", "VR110102", 3),
|
containsInAnyOrder(
|
||||||
BrowseEntryResourceMatcher.matchBrowseEntry("Church studies", "VR110103", 2)
|
BrowseEntryResourceMatcher.matchBrowseEntry("Missionary studies", "VR110104", 1),
|
||||||
)));
|
BrowseEntryResourceMatcher.matchBrowseEntry("History of religion", "VR110102", 3),
|
||||||
|
BrowseEntryResourceMatcher.matchBrowseEntry("Church studies", "VR110103", 2)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
getClient().perform(get("/api/discover/browses/subject/entries")
|
getClient().perform(get("/api/discover/browses/subject/entries")
|
||||||
.param("sort", "value,desc"))
|
.param("sort", "value,desc"))
|
||||||
@@ -310,11 +314,15 @@ public class BrowsesResourceControllerIT extends AbstractControllerIntegrationTe
|
|||||||
//Check the embedded resources and that they're sorted alphabetically
|
//Check the embedded resources and that they're sorted alphabetically
|
||||||
//Check that the subject matches as expected
|
//Check that the subject matches as expected
|
||||||
//Verify that they're sorted alphabetically
|
//Verify that they're sorted alphabetically
|
||||||
.andExpect(jsonPath("$._embedded.entries",
|
.andExpect(
|
||||||
containsInAnyOrder(BrowseEntryResourceMatcher.matchBrowseEntry("Missionary studies", "VR110104", 1),
|
jsonPath("$._embedded.entries",
|
||||||
BrowseEntryResourceMatcher.matchBrowseEntry("History of religion", "VR110102", 3),
|
containsInAnyOrder(
|
||||||
BrowseEntryResourceMatcher.matchBrowseEntry("Church studies", "VR110103", 2)
|
BrowseEntryResourceMatcher.matchBrowseEntry("Missionary studies", "VR110104", 1),
|
||||||
)));
|
BrowseEntryResourceMatcher.matchBrowseEntry("History of religion", "VR110102", 3),
|
||||||
|
BrowseEntryResourceMatcher.matchBrowseEntry("Church studies", "VR110103", 2)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Reference in New Issue
Block a user