fix tests
This commit is contained in:
parent
986fa2a1c3
commit
b9755c8f1f
|
@ -74,7 +74,6 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
||||||
public CanonicalResource getResource() throws FHIRException {
|
public CanonicalResource getResource() throws FHIRException {
|
||||||
if (resource == null) {
|
if (resource == null) {
|
||||||
resource = loadResource();
|
resource = loadResource();
|
||||||
((DomainResource) resource).setText(null);
|
|
||||||
if (resource instanceof CodeSystem) {
|
if (resource instanceof CodeSystem) {
|
||||||
CodeSystemUtilities.crossLinkCodeSystem((CodeSystem) resource);
|
CodeSystemUtilities.crossLinkCodeSystem((CodeSystem) resource);
|
||||||
}
|
}
|
||||||
|
@ -197,7 +196,6 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
||||||
if (!r.hasId()) {
|
if (!r.hasId()) {
|
||||||
r.setId(UUID.randomUUID().toString());
|
r.setId(UUID.randomUUID().toString());
|
||||||
}
|
}
|
||||||
r.setText(null);
|
|
||||||
CanonicalResourceManager<T>.CachedCanonicalResource<T> cr = new CachedCanonicalResource<T>(r, packgeInfo);
|
CanonicalResourceManager<T>.CachedCanonicalResource<T> cr = new CachedCanonicalResource<T>(r, packgeInfo);
|
||||||
see(cr);
|
see(cr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue