Skip to content

Commit

Permalink
fix shouldReturnApiIoExceptionWhenObjectMapperFails
Browse files Browse the repository at this point in the history
  • Loading branch information
torbjokv committed Oct 30, 2024
1 parent 11f2946 commit a873fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void shouldReturnNotAuthorizedWhenRequestInfoDoesNotContainAccessRightsAndCheckI
}

@Test
void shouldReturnReturnBadRequestWhenObjectMapperFails(){
void shouldReturnApiIoExceptionWhenObjectMapperFails(){
var request = "This is not a valid request";
assertThrows(ApiIoException.class, () -> RequestInfo.fromRequest(IoUtils.stringToStream(request), httpClient));
}
Expand Down

0 comments on commit a873fd9

Please sign in to comment.