remove bogus version support from snapshot tests
This commit is contained in:
parent
78d35ca8c1
commit
d584cdb3a2
|
@ -108,7 +108,6 @@ public class SnapShotGenerationTests {
|
|||
private boolean fail;
|
||||
private boolean newSliceProcessing;
|
||||
private boolean debug;
|
||||
private String version;
|
||||
|
||||
private List<Rule> rules = new ArrayList<>();
|
||||
private StructureDefinition source;
|
||||
|
@ -123,11 +122,6 @@ public class SnapShotGenerationTests {
|
|||
fail = "true".equals(test.getAttribute("fail"));
|
||||
newSliceProcessing = !"false".equals(test.getAttribute("new-slice-processing"));
|
||||
debug = "true".equals(test.getAttribute("debug"));
|
||||
if (test.hasAttribute("version")) {
|
||||
version = test.getAttribute("version");
|
||||
} else {
|
||||
version = "4.0.1";
|
||||
}
|
||||
|
||||
id = test.getAttribute("id");
|
||||
include = test.getAttribute("include");
|
||||
|
@ -500,7 +494,7 @@ public class SnapShotGenerationTests {
|
|||
throw new Exception("URL mismatch on base: "+base.getUrl()+" wanting "+test.getSource().getBaseDefinition());
|
||||
|
||||
StructureDefinition output = test.getSource().copy();
|
||||
ProfileUtilities pu = new ProfileUtilities(TestingUtilities.context(test.version), messages , new TestPKP());
|
||||
ProfileUtilities pu = new ProfileUtilities(TestingUtilities.context(), messages , new TestPKP());
|
||||
pu.setNewSlicingProcessing(test.isNewSliceProcessing());
|
||||
pu.setThrowException(false);
|
||||
pu.setDebug(test.isDebug());
|
||||
|
|
Loading…
Reference in New Issue