Skip to content
Snippets Groups Projects
Commit 8bcce120 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Rename the metadata entity field to entity_id

parent ed09e016
No related branches found
No related tags found
1 merge request!136Rename the metadata entity field to entity_id
Pipeline #78849 passed
......@@ -46,7 +46,7 @@ class MetaDataMixin(object):
"type": type.value,
"name": name,
"value": value,
"entity": entity,
"entity_id": entity,
"worker_version": self.worker_version_id,
},
)
......
......@@ -192,7 +192,7 @@ def test_create_metadata(responses, mock_elements_worker):
"type": "location",
"name": "Teklia",
"value": "La Turbine, Grenoble 38000",
"entity": None,
"entity_id": None,
"worker_version": "12341234-1234-1234-1234-123412341234",
}
assert metadata_id == "12345678-1234-1234-1234-123456789123"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment