From c0882c95595920654a7886eca8c12cdb8eded3cd Mon Sep 17 00:00:00 2001 From: Andria Capai Date: Tue, 5 Mar 2024 15:14:14 +0100 Subject: [PATCH] fix: change type of "eng_label" and "desc_label" In database these two fields are nullable then change type to allow "None" value Reviewed-by: andriacap --- .../geonature/tests/imports/jsonschema_definitions.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/backend/geonature/tests/imports/jsonschema_definitions.py b/backend/geonature/tests/imports/jsonschema_definitions.py index 9067bece70..f01b4dccf6 100644 --- a/backend/geonature/tests/imports/jsonschema_definitions.py +++ b/backend/geonature/tests/imports/jsonschema_definitions.py @@ -24,10 +24,16 @@ "type": "string", }, "eng_label": { - "type": "string", + "type": [ + "string", + "null", + ], }, "desc_field": { - "type": "string", + "type": [ + "string", + "null", + ], }, "type_field": { "type": "string",