77228: Fix line length

This commit is contained in:
Yura Bondarenko
2021-03-05 10:19:38 +01:00
parent 990ae7750b
commit fea0a3a896

View File

@@ -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