Fix error logging in client-side validation

Closes gh-1144
This commit is contained in:
Stéphane Nicoll
2025-04-16 15:11:04 +02:00
parent 84ac743d2d
commit f58db47ba4
3 changed files with 8 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ public class PayloadValidatingInterceptorTest {
assertThatExceptionOfType(WebServiceClientException.class)
.isThrownBy(() -> this.interceptor.handleRequest(this.context))
.withMessageContaining("XML validation error on response");
.withMessageContaining("XML validation error on request");
}
@Test
@@ -105,7 +105,7 @@ public class PayloadValidatingInterceptorTest {
assertThatExceptionOfType(WebServiceClientException.class)
.isThrownBy(() -> this.interceptor.handleRequest(this.context))
.withMessageContaining("XML validation error on response");
.withMessageContaining("XML validation error on request");
}
@Test
@@ -199,7 +199,7 @@ public class PayloadValidatingInterceptorTest {
assertThatExceptionOfType(WebServiceClientException.class)
.isThrownBy(() -> this.interceptor.handleRequest(this.context))
.withMessageContaining("XML validation error on response");
.withMessageContaining("XML validation error on request");
}
@Test