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.
This commit is contained in:
Michael Simons
2021-01-15 12:32:39 +01:00
parent 3f968526b7
commit 466e910b18

View File

@@ -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);