SOLR-14871: remove unused test

This commit is contained in:
noblepaul 2020-09-17 09:10:40 +10:00
parent e5d3e4d567
commit 5bc7fb2861
1 changed files with 0 additions and 8 deletions

View File

@ -40,7 +40,6 @@ public class JsonValidatorTest extends SolrTestCaseJ4 {
checkSchema("core.config.Commands");
checkSchema("core.SchemaEdit");
checkSchema("cluster.configs.Commands");
// checkSchema("cluster.Commands");
}
@ -173,13 +172,6 @@ public class JsonValidatorTest extends SolrTestCaseJ4 {
}
public void testNullObjectValue() {
ValidatingJsonMap spec = Utils.getSpec("cluster.Commands").getSpec();
JsonSchemaValidator validator = new JsonSchemaValidator((Map) Utils.getObjectByPath(spec, false, "/commands/set-obj-property"));
List<String> object = validator.validateJson(Utils.fromJSONString("{collectionDefaults: null}"));
assertNull(object);
}
private void checkSchema(String name) {
ValidatingJsonMap spec = Utils.getSpec(name).getSpec();
@SuppressWarnings({"rawtypes"})