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 cab1e780f8
commit 181b62cfd1

View File

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