fixing tests run for PR
MODIFY
manager/test/api/src/test/resources/test-plan-data/apis/definitions/009_get-api-definition-wsdl.resttest
manager/test/api/src/test/resources/test-plan-data/apis/definitions/009_get-api-definition-wsdl.resttest
GET /organizations/Organization1/apis/API1/versions/2.0/definition admin/admin
----
200
-Content-Type: application/wsdl+xml
+Content-Type: text/xml;charset=utf-8
<definitions name="EndorsementSearch"
targetNamespace="http://namespaces.snowboard-info.com"

MODIFY
manager/test/api/src/test/resources/test-plan-data/apis/definitions/018_get-api-definition-wsdl.resttest
manager/test/api/src/test/resources/test-plan-data/apis/definitions/018_get-api-definition-wsdl.resttest
GET /organizations/Organization1/apis/APILiveSwaggerBasePath/versions/1.0/definition admin/admin
----
200
-Content-Type: application/wsdl+xml
+Content-Type: text/xml;charset=utf-8
<definitions name="EndorsementSearch"
targetNamespace="http://namespaces.snowboard-info.com"

MODIFY
test/common/src/main/java/io/apiman/test/common/util/TestPlanRunner.java
test/common/src/main/java/io/apiman/test/common/util/TestPlanRunner.java
@@ -255,7 +255,7 @@ public class TestPlanRunner {
assertJsonPayload(restTest, response);
} else if (ctValueFirst.startsWith("text/plain") || ctValueFirst.startsWith("text/html")) {
assertTextPayload(restTest, response);
- } else if (ctValueFirst.startsWith("application/xml") || ctValueFirst.startsWith("application/wsdl+xml")) {
+ } else if (ctValueFirst.startsWith("application/xml") || ctValueFirst.startsWith("application/wsdl+xml") || ctValueFirst.startsWith("text/xml")) {
assertXmlPayload(restTest, response);
} else {
Assert.fail("Unsupported response payload type: " + ctValueFirst);

fixing tests run for PR #835 (#839)