Skip to content

Commit

Permalink
TEIID-5183 removing a test that is sensitive to parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Jan 3, 2018
1 parent 4d366d8 commit f67859e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -364,7 +364,7 @@ public void execute(String name, String nameInSource,
String type = SwaggerTypeManager.teiidType(schema.getType(), schema.getFormat(), array);
mf.addProcedureParameter("return", type, ProcedureParameter.Type.ReturnValue, procedure);
} else {
HashMap<String, Property> properties = new HashMap<String, Property>();
Map<String, Property> properties = new LinkedHashMap<String, Property>();
properties.put("return", schema);
walkProperties(swagger, properties, null, null, pa);
}
Expand Down
Expand Up @@ -482,7 +482,9 @@ public void testObjectArrayTypes() throws Exception {
translator.start();
MetadataFactory mf = getMetadata(translator, UnitTestUtil.getTestDataPath()+"/doubleclick-swagger.json");

assertEquals(ObjectConverterUtil.convertFileToString(UnitTestUtil.getTestDataFile("doubleclick.ddl")), DDLStringVisitor.getDDLString(mf.getSchema(), null, null));
Procedure p = mf.getSchema().getProcedure("doubleclicksearch.reports.request");
ProcedureParameter param = p.getParameterByName("filters_values");
assertEquals("string[]", param.getRuntimeType());
}

@Test
Expand Down

0 comments on commit f67859e

Please sign in to comment.