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 {
|
||||
if (resource == null) {
|
||||
resource = loadResource();
|
||||
((DomainResource) resource).setText(null);
|
||||
if (resource instanceof CodeSystem) {
|
||||
CodeSystemUtilities.crossLinkCodeSystem((CodeSystem) resource);
|
||||
}
|
||||
|
@ -197,7 +196,6 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
|||
if (!r.hasId()) {
|
||||
r.setId(UUID.randomUUID().toString());
|
||||
}
|
||||
r.setText(null);
|
||||
CanonicalResourceManager<T>.CachedCanonicalResource<T> cr = new CachedCanonicalResource<T>(r, packgeInfo);
|
||||
see(cr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue