Skip to content

Commit a5648fe

Browse files
committed
Fixed the wrong assertion issue in a test
1 parent 61929e9 commit a5648fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-5-reactive-client/src/test/java/com/baeldung/reactive/logging/WebClientLoggingIntegrationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void givenDefaultHttpClientWithFilter_whenEndpointIsConsumed_thenRequestA
146146
.exchange()
147147
.block();
148148

149-
verify(mockAppender).doAppend(argThat(argument -> (((LoggingEvent) argument).getFormattedMessage()).contains("domain=.typicode.com;")));
149+
verify(mockAppender).doAppend(argThat(argument -> (((LoggingEvent) argument).getFormattedMessage()).contains(sampleUrl)));
150150
}
151151

152152

0 commit comments

Comments
 (0)