From 181b62cfd1a64fd7977e58c69e3f491f764cc510 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Fri, 15 Jan 2021 12:32:39 +0100 Subject: [PATCH] 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. --- .../integration/constructors/PersistenceConstructorsTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/integration/constructors/PersistenceConstructorsTests.java b/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/integration/constructors/PersistenceConstructorsTests.java index 5e07d8c25..07ad0a6ef 100644 --- a/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/integration/constructors/PersistenceConstructorsTests.java +++ b/spring-data-neo4j/src/test/java/org/springframework/data/neo4j/integration/constructors/PersistenceConstructorsTests.java @@ -170,8 +170,7 @@ public class PersistenceConstructorsTests extends MultiDriverTestClass { assertEquals("ADMIN", persons.get(0).getGroup().getName()); } - @Test - @Ignore("final fields are not supported by OGM for now") + @Test // GH-1763 public void shouldHandleFinalFields() { PersonWithFinalName person = new PersonWithFinalName("foo"); pfnRepository.save(person);