@@ -82,7 +82,7 @@ void shouldCatchConversionErrors() {
8282
8383 assertThatExceptionOfType (TypeMismatchDataAccessException .class )
8484 .isThrownBy (() -> defaultNeo4jEntityAccessor .readValue (value , TypeInformation .of (Date .class ), null ))
85- .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.util.Date; " )
85+ .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.util.Date" )
8686 .withCauseInstanceOf (ConversionFailedException .class ).withRootCauseInstanceOf (DateTimeParseException .class );
8787 }
8888
@@ -93,7 +93,7 @@ void shouldCatchUncoercibleErrors() {
9393 assertThatExceptionOfType (TypeMismatchDataAccessException .class )
9494 .isThrownBy (
9595 () -> defaultNeo4jEntityAccessor .readValue (value , TypeInformation .of (LocalDate .class ), null ))
96- .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.time.LocalDate; " )
96+ .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.time.LocalDate" )
9797 .withCauseInstanceOf (ConversionFailedException .class ).withRootCauseInstanceOf (Uncoercible .class );
9898 }
9999
@@ -104,7 +104,7 @@ void shouldCatchCoercibleErrors() {
104104 assertThatExceptionOfType (TypeMismatchDataAccessException .class ).isThrownBy (
105105 () -> defaultNeo4jEntityAccessor .readValue (value , TypeInformation .of (ReactiveNeo4jClient .class ), null ))
106106 .withMessageStartingWith (
107- "Could not convert \" Das funktioniert nicht.\" into org.springframework.data.neo4j.core.ReactiveNeo4jClient; " )
107+ "Could not convert \" Das funktioniert nicht.\" into org.springframework.data.neo4j.core.ReactiveNeo4jClient" )
108108 .withRootCauseInstanceOf (ConverterNotFoundException .class );
109109 }
110110 }
0 commit comments