Skip to content

Commit

Permalink
CIRC-2051 rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-barannyk committed Apr 12, 2024
1 parent 4f2f1ec commit b67fbb5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/test/java/api/requests/AllowedServicePointsAPITests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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();
Expand Down

0 comments on commit b67fbb5

Please sign in to comment.