Test fix
This commit is contained in:
parent
a1275874f8
commit
f39cf58a4a
|
@ -14,7 +14,7 @@ public class ResourceModifiedTest {
|
|||
public void testCreate() {
|
||||
Organization org = new Organization();
|
||||
org.setName("testOrgName");
|
||||
org.setId("testOrgId");
|
||||
org.setId("Organization/testOrgId");
|
||||
ResourceModifiedMessage msg = new ResourceModifiedMessage(myFhirContext, org, ResourceModifiedMessage.OperationTypeEnum.CREATE);
|
||||
assertEquals(org.getIdElement(), msg.getId(myFhirContext));
|
||||
assertEquals(ResourceModifiedMessage.OperationTypeEnum.CREATE, msg.getOperationType());
|
||||
|
@ -27,7 +27,7 @@ public class ResourceModifiedTest {
|
|||
public void testUpdate() {
|
||||
Organization org = new Organization();
|
||||
org.setName("testOrgName");
|
||||
org.setId("testOrgId");
|
||||
org.setId("Organization/testOrgId");
|
||||
ResourceModifiedMessage msg = new ResourceModifiedMessage(myFhirContext, org, ResourceModifiedMessage.OperationTypeEnum.UPDATE);
|
||||
assertEquals(org.getIdElement(), msg.getId(myFhirContext));
|
||||
assertEquals(ResourceModifiedMessage.OperationTypeEnum.UPDATE, msg.getOperationType());
|
||||
|
|
Loading…
Reference in New Issue