mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-28 09:09:16 +00:00
Added test to make sure we have loaded the expected package id.
This commit is contained in:
parent
983d811af6
commit
b3afe41de8
@ -0,0 +1,4 @@
|
||||
---
|
||||
type: add
|
||||
issue: 2590
|
||||
title: "When resources are created using package load, the new resources will use the same IDs as were provided in with the resource definitions in the package, if they exist"
|
@ -259,7 +259,10 @@ public class NpmR4Test extends BaseJpaR4Test {
|
||||
map.add(StructureDefinition.SP_URL, new UriParam("http://hl7.org/fhir/uv/shorthand/CodeSystem/shorthand-code-system"));
|
||||
IBundleProvider result = myCodeSystemDao.search(map);
|
||||
assertEquals(1, result.sizeOrThrowNpe());
|
||||
IBaseResource resource = result.getResources(0, 1).get(0);
|
||||
assertEquals("CodeSystem/shorthand-code-system/_history/1", resource.getIdElement().toString());
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user