mirror of https://github.com/apache/lucene.git
SOLR-14871: remove unused test
This commit is contained in:
parent
e5d3e4d567
commit
5bc7fb2861
|
@ -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"})
|
||||
|
|
Loading…
Reference in New Issue