Fixed additional issue where XML Metadata needed to be fetched for individual test debugging

This commit is contained in:
Joshua Darnell 2020-04-13 04:45:51 -07:00
parent 66097735a4
commit dfb1566b0e
1 changed files with 2 additions and 1 deletions

View File

@ -952,7 +952,8 @@ public class WebAPIServer_1_0_2 implements En {
Given("^valid metadata have been retrieved$", () -> {
//NOTE: this is here so that tests may be run individually
if (!getTestContainer().getHaveMetadataBeenRequested()) {
getTestContainer().validateMetadata();
getTestContainer().getXMLMetadata();
getTestContainer().validateMetadata();
}
assertTrue(getDefaultErrorMessage("Valid metadata could not be retrieved from the server! Please check the log for more information."),
getTestContainer().hasValidMetadata());