Skip to content

Commit 181b62c

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 cab1e78 commit 181b62c

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ public void shouldHandleRelationshipInCtor() {
170170
assertEquals("ADMIN", persons.get(0).getGroup().getName());
171171
}
172172

173-
@Test
174-
@Ignore("final fields are not supported by OGM for now")
173+
@Test // GH-1763
175174
public void shouldHandleFinalFields() {
176175
PersonWithFinalName person = new PersonWithFinalName("foo");
177176
pfnRepository.save(person);

0 commit comments

Comments
 (0)