From b363406a4b51e186f87b036d74e48b338c3300e8 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 16 Aug 2017 13:02:04 +0200 Subject: [PATCH] Fixed the bug in the mapping for package data-model --- src/test/java/de/juplo/jpa/converters/JPAConverterTest.java | 4 ++-- src/test/resources/META-INF/date.xml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/juplo/jpa/converters/JPAConverterTest.java b/src/test/java/de/juplo/jpa/converters/JPAConverterTest.java index edf63c2..0bc8b1d 100644 --- a/src/test/java/de/juplo/jpa/converters/JPAConverterTest.java +++ b/src/test/java/de/juplo/jpa/converters/JPAConverterTest.java @@ -125,8 +125,8 @@ public class JPAConverterTest persist(date); date = retrieve(Date.class, new PrimaryKey(date)); assertEquals(ld, date.getDate()); - // assertEquals(zdt, date.getStart()); - // assertEquals(zdt, date.getEnd()); + assertEquals(zdt, date.getStart()); + assertEquals(zdt, date.getEnd()); } diff --git a/src/test/resources/META-INF/date.xml b/src/test/resources/META-INF/date.xml index 31b2214..92877f7 100644 --- a/src/test/resources/META-INF/date.xml +++ b/src/test/resources/META-INF/date.xml @@ -9,6 +9,12 @@ 17 + + + + + + -- 2.20.1