diff --git a/set-integration-testing/src/integration-test/java/eu/europeana/api/set/integration/web/WebUserSetPaginationIT.java b/set-integration-testing/src/integration-test/java/eu/europeana/api/set/integration/web/WebUserSetPaginationIT.java index dffb4258..2845d289 100644 --- a/set-integration-testing/src/integration-test/java/eu/europeana/api/set/integration/web/WebUserSetPaginationIT.java +++ b/set-integration-testing/src/integration-test/java/eu/europeana/api/set/integration/web/WebUserSetPaginationIT.java @@ -364,7 +364,7 @@ public void getUserSetPaginationPageSizeExceeded() throws Exception { final String requestedPageSize = "200"; MockHttpServletResponse response = mockMvc .perform(get(BASE_URL + "{identifier}", userSet.getIdentifier()) - .queryParam(CommonApiConstants.QUERY_PARAM_PROFILE, SetPageProfile.ITEMS.getProfileParamValue()) + .queryParam(CommonApiConstants.QUERY_PARAM_PROFILE, SetPageProfile.ITEMS_META.getProfileParamValue()) .queryParam(CommonApiConstants.QUERY_PARAM_PAGE, String.valueOf(WebUserSetFields.DEFAULT_PAGE)) .queryParam(CommonApiConstants.QUERY_PARAM_PAGE_SIZE, requestedPageSize) .header(HttpHeaders.AUTHORIZATION, regularUserToken)