diff --git a/tests/resources/serializers/conftest.py b/tests/resources/serializers/conftest.py index 1e4fe9d4c..191881e05 100644 --- a/tests/resources/serializers/conftest.py +++ b/tests/resources/serializers/conftest.py @@ -310,7 +310,7 @@ def full_record_to_dict(): }, "identifiers": [ { - "identifier": "12345abcde", + "identifier": "Q39", "scheme": "wikidata", }, { diff --git a/tests/services/schemas/test_location.py b/tests/services/schemas/test_location.py index ac6271e2f..f3f5dd63e 100644 --- a/tests/services/schemas/test_location.py +++ b/tests/services/schemas/test_location.py @@ -38,6 +38,16 @@ def test_valid_full(app, valid_full_location): ({"description": "test location description"}), ({"place": "test location place"}), ({"identifiers": [{"identifier": "Q39", "scheme": "wikidata"}]}), + ( + { + "identifiers": [ + { + "identifier": "https://www.geonames.org/2660646", + "scheme": "geonames", + } + ] + } + ), ], ) def test_valid_minimal(app, valid_minimal_location):