Fix assertion in WebFluxSseClientTransportTests
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
parent
d782dc93c0
commit
02d1f3edd0
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ class WebFluxSseClientTransportTests {
|
||||||
void testMessageEndpointValidation() throws InvalidSseMessageEndpointException {
|
void testMessageEndpointValidation() throws InvalidSseMessageEndpointException {
|
||||||
var uriCaptor = ArgumentCaptor.forClass(URI.class);
|
var uriCaptor = ArgumentCaptor.forClass(URI.class);
|
||||||
verify(sseMessageEndpointValidator).validate(uriCaptor.capture(), matches("/message\\?sessionId=[a-z0-9-]+"));
|
verify(sseMessageEndpointValidator).validate(uriCaptor.capture(), matches("/message\\?sessionId=[a-z0-9-]+"));
|
||||||
assertThat(uriCaptor.getValue().toString()).matches("http://localhost:\\d+/sse");
|
assertThat(uriCaptor.getValue().toString()).matches(host + "/sse");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue