Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4523 meta source field in subscription messages is inconsistently populated #4542

Open
wants to merge 10 commits into
base: rel_6_4
Choose a base branch
from
Prev Previous commit
Next Next commit
minor fix
  • Loading branch information
Qingyixia committed Feb 8, 2023
commit f2c0895a5d9c1e6a31f68ea3341d874ada2d1685
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,6 @@ public void testMessageSubscriptionWithPayloadSearchMode() throws URISyntaxExcep
assertEquals(p1.getIdElement().getValue(), receivedBundle.getEntry().get(0).getResource().getIdElement().getValue());
assertEquals(p2.getIdElement().getValue(), receivedBundle.getEntry().get(1).getResource().getIdElement().getValue());


System.out.println("CREATE message: " + myCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(receivedBundle));

}

@Test
Expand Down Expand Up @@ -405,7 +402,7 @@ public void testRestHookDeliveryFails_raisedExceptionShouldNotIncludeSubmittedRe
}

@Test
public void testSubscriptionMessageContainsMetaSourceField_CREATE() throws URISyntaxException {
public void testSubscriptionMessageContainsMetaSourceField() throws URISyntaxException {
//Given: we have a subscription message that contains a patient resource
Patient p1 = generatePatient();
p1.addName().setFamily("p1-family");
Expand Down