Skip to content

Commit 1cad4b9

Browse files
GH-2348 - Unflake test.
1 parent 4e85fba commit 1cad4b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/org/springframework/data/neo4j/integration/conversion_imperative/TypeConversionIT.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ void thereShallBeNoDefaultValuesForNonExistingAttributes() {
113113

114114
assertThatExceptionOfType(MappingException.class)
115115
.isThrownBy(() -> cypherTypesRepository.findById(id))
116-
.withMessageMatching(
117-
"Error mapping Record<\\{thingWithAllCypherTypes: \\{__internalNeo4jId__: \\d+, aBoolean: NULL, aString: NULL, aLong: NULL, anOffsetTime: NULL, aLocalDateTime: NULL, aDouble: NULL, aByteArray: NULL, aPoint: NULL, aZeroDuration: NULL, aZoneDateTime: NULL, __nodeLabels__: \\[\"CypherTypes\"], aLocalDate: NULL, aZeroPeriod: NULL, anIsoDuration: NULL, aLocalTime: NULL, id: NULL}}>")
116+
.withMessageMatching("Error mapping Record<\\{thingWithAllCypherTypes: .*>")
118117
.withStackTraceContaining("Illegal arguments for constructor")
119118
.withRootCauseInstanceOf(IllegalArgumentException.class);
120119
}

0 commit comments

Comments
 (0)