Commit d893ace0 authored by Noel Alonso's avatar Noel Alonso
Browse files

Corrige tests

parent ea29657f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ public class JsonSchemaGenerationTest {
		properties.put("controller.mapping.CONFIDENCE", "/operator/confidences");
		properties.put("controller.mapping.SPECIES", "/operator/taxons/species");
		properties.put("controller.mapping.MISIDENTIFICATION", "/operator/taxons/misidentification");
		properties.put("controller.mapping.THEME_INSPIRE", "/operator/themeinspire");

		Whitebox.setInternalState(jsonSchemaUtil, HashMap.class, properties);
		Whitebox.invokeMethod(jsonSchemaUtil, "jsonSchemaGeneratorInit");
+26 −0
Original line number Diff line number Diff line
@@ -119,6 +119,32 @@
			"items": {
				"$ref": "#/definitions/OrganisationRoleDTO"
			}
		},
		"license": {
			"type": [
				"string",
				"null"
			],
			"maxLength": 5000
		},
		"spatialExtension": {
			"type": [
				"string",
				"null"
			]
		},
		"starred": {
			"type": [
				"boolean",
				"null"
			]
		},
		"themeInspire": {
			"type": [
				"string",
				"null"
			],
			"url": "/operator/themeinspire"
		}
	},
	"required": [