Skip to content

Commit c4a7551

Browse files
GH-2348 - Unflake test.
1 parent 7946fdd commit c4a7551

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
@@ -107,8 +107,7 @@ void thereShallBeNoDefaultValuesForNonExistingAttributes() {
107107

108108
assertThatExceptionOfType(MappingException.class)
109109
.isThrownBy(() -> cypherTypesRepository.findById(id))
110-
.withMessageMatching(
111-
"Error mapping Record<\\{n: \\{__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}}>")
110+
.withMessageMatching("Error mapping Record<\\{n: .*>")
112111
.withStackTraceContaining("Illegal arguments for constructor")
113112
.withRootCauseInstanceOf(IllegalArgumentException.class);
114113
}

0 commit comments

Comments
 (0)