diff --git a/src/test/java/api/requests/AllowedServicePointsAPITests.java b/src/test/java/api/requests/AllowedServicePointsAPITests.java index bd09b92bbf..0c901d94f2 100644 --- a/src/test/java/api/requests/AllowedServicePointsAPITests.java +++ b/src/test/java/api/requests/AllowedServicePointsAPITests.java @@ -786,10 +786,6 @@ void shouldUseStubItemParameterInCirculationRuleMatchingWhenPresent() { assertThat(response, hasNoJsonPath(RECALL.getValue())); allowedServicePoints = response.getJsonArray(PAGE.getValue()); assertServicePointsMatch(allowedServicePoints, List.of(cd1, cd2, cd4, cd5)); - - Response errorResponse = getCreateOp(requesterId, instanceId, null, "invalid", null, - HttpStatus.SC_BAD_REQUEST); - assertThat(errorResponse.getBody(), is("useStubItem is not a valid boolean: invalid.")); } @Test @@ -801,7 +797,7 @@ void shouldReturnErrorIfUseStubItemIsInvalid() { } @Test - void shouldConsiderEcsRequestRoutingServicePointsParameterForAllowedServicePoints() { + void shouldConsiderEcsRequestRoutingParameterForAllowedServicePoints() { var requesterId = usersFixture.steve().getId().toString(); var instanceId = itemsFixture.createMultipleItemsForTheSameInstance(2).get(0) .getInstanceId().toString();