From 077f9df814640d37be47af9acfa5b9afbd846ccc Mon Sep 17 00:00:00 2001 From: Gary Graham Date: Wed, 26 Feb 2020 12:04:33 -0500 Subject: [PATCH] I keep finding more tests --- .../fhir/jpa/dao/r4/FhirResourceDaoR4SearchNoHashesTest.java | 3 ++- .../module/matcher/InMemorySubscriptionMatcherR4Test.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchNoHashesTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchNoHashesTest.java index 143459c3f9b..3e0d4d144d2 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchNoHashesTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchNoHashesTest.java @@ -3281,7 +3281,8 @@ public class FhirResourceDaoR4SearchNoHashesTest extends BaseJpaR4Test { @Test public void testDateSearchParametersShouldBeTimezoneIndependent() { - createObservationWithEffective("NO1", "2011-01-02T23:00:00-11:30"); + createObservationWithEffective("NO1", "2011-01-01T23:00:00-11:30"); + createObservationWithEffective("NO2", "2011-01-03T23:00:00+01:30"); createObservationWithEffective("YES01", "2011-01-02T00:00:00-11:30"); createObservationWithEffective("YES02", "2011-01-02T00:00:00-10:00"); diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/module/matcher/InMemorySubscriptionMatcherR4Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/module/matcher/InMemorySubscriptionMatcherR4Test.java index ee88580d9d6..77e2044500e 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/module/matcher/InMemorySubscriptionMatcherR4Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/module/matcher/InMemorySubscriptionMatcherR4Test.java @@ -884,10 +884,10 @@ public class InMemorySubscriptionMatcherR4Test { public void testDateSearchParametersShouldBeTimezoneIndependent() { List nlist = new ArrayList<>(); - nlist.add(createObservationWithEffective("NO1", "2011-01-02T23:00:00-11:30")); - nlist.add(createObservationWithEffective("NO2", "2011-01-03T00:00:00+01:00")); + nlist.add(createObservationWithEffective("NO1", "2011-01-03T00:00:00+01:00")); List ylist = new ArrayList<>(); + ylist.add(createObservationWithEffective("YES00", "2011-01-02T23:00:00-11:30")); ylist.add(createObservationWithEffective("YES01", "2011-01-02T00:00:00-11:30")); ylist.add(createObservationWithEffective("YES02", "2011-01-02T00:00:00-10:00")); ylist.add(createObservationWithEffective("YES03", "2011-01-02T00:00:00-09:00"));