Skip to content

Commit

Permalink
Wrong type for EncoderMode used in rest-client (#37261)
Browse files Browse the repository at this point in the history
review
  • Loading branch information
luca-bassoricci committed Nov 29, 2023
1 parent 368a213 commit 4b8a3c8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ void shouldPassUsingCustomMultipartPostEncoderMode(@TempDir File tempDir) throws
assertThat(client.upload(file)).isEqualTo("OK");
}

/**
* Used to test in advance if {@link QuarkusRestClientProperties#MULTIPART_ENCODER_MODE} property
* is of the corrected type
*/
static class MultipartEncoderModeCheck implements ClientRequestFilter {
@Override
public void filter(ClientRequestContext requestContext) throws IOException {
Expand Down

0 comments on commit 4b8a3c8

Please sign in to comment.