From 466e910b182251d5bb66541f2983e73ffd09bb06 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 69b5f259f..caee45a63 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 @@ -167,8 +167,7 @@ public class PersistenceConstructorsTests { 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);