We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests with webclient should always use reactive operators forSingle, await with timeout
forSingle
await
@Test void testPokemonTypes() throws ExecutionException, InterruptedException { webClient.get() .path("/type") .request(JsonArray.class) .thenAccept(array -> { assertThat(array.size(), is(18)); assertThat(array.get(0).asJsonObject().getInt("{{id}}"), is(1)); assertThat(array.get(0).asJsonObject().getString("{{name}}"), is("Normal")); }) .toCompletableFuture() .get(); }
The text was updated successfully, but these errors were encountered:
tvallin
Successfully merging a pull request may close this issue.
Environment Details
Problem Description
Tests with webclient should always use reactive operators
forSingle
,await
with timeoutThe text was updated successfully, but these errors were encountered: