Skip to content

Commit 466e910

Browse files
GH-1763 - Ensure final fields of immutable entities are persisted correctly.
The underlying issue has been fixed with Neo4j-OGM 3.1.14, so all that was left todo was enabling the existing test. This closes #1763.
1 parent 3f96852 commit 466e910

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-data-neo4j/src/test/java/org/springframework/data/neo4j/integration/constructors/PersistenceConstructorsTests.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ public void shouldHandleRelationshipInCtor() {
167167
assertEquals("ADMIN", persons.get(0).getGroup().getName());
168168
}
169169

170-
@Test
171-
@Ignore("final fields are not supported by OGM for now")
170+
@Test // GH-1763
172171
public void shouldHandleFinalFields() {
173172
PersonWithFinalName person = new PersonWithFinalName("foo");
174173
pfnRepository.save(person);

0 commit comments

Comments
 (0)