From dfb1566b0e01ebd2c6bf93b9c3484e4edcc45432 Mon Sep 17 00:00:00 2001 From: Joshua Darnell Date: Mon, 13 Apr 2020 04:45:51 -0700 Subject: [PATCH] Fixed additional issue where XML Metadata needed to be fetched for individual test debugging --- .../org/reso/certification/stepdefs/WebAPIServer_1_0_2.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/reso/certification/stepdefs/WebAPIServer_1_0_2.java b/src/main/java/org/reso/certification/stepdefs/WebAPIServer_1_0_2.java index 8bf890a..f00591f 100644 --- a/src/main/java/org/reso/certification/stepdefs/WebAPIServer_1_0_2.java +++ b/src/main/java/org/reso/certification/stepdefs/WebAPIServer_1_0_2.java @@ -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());