diff --git a/arches_rdm/const.py b/arches_rdm/const.py index 7b8e9c65..db15544c 100644 --- a/arches_rdm/const.py +++ b/arches_rdm/const.py @@ -15,9 +15,9 @@ SCHEME_NAME_TYPE_NODE = "1330cc4c-d44d-11ee-9261-0242ac130005" SCHEME_NAME_LANGUAGE_NODE = "2deaf45e-d44d-11ee-b78d-0242ac130005" -PREF_LABEL_VALUE_ID = "c23f272a-c844-4cf7-a0b7-77040d256e47" -ALT_LABEL_VALUE_ID = "503406c3-afa2-417f-bd85-7ac7caebe8e8" +PREF_LABEL_VALUE_ID = "3b8a03f1-9047-48e4-9ca0-b3fe887f6f9d" +ALT_LABEL_VALUE_ID = "c02f97c5-da16-4ff0-864a-92c34da84e38" # Old RDM concepts, values -LANGUAGE_CONCEPT_ID = "b56094dd-cae6-44c5-9a52-94154dc36f12" -AMERICAN_ENGLISH_VALUE_ID = "dff78cb2-682c-41e0-a5b2-dcbb2d58c057" +LANGUAGE_CONCEPT_ID = "845cc417-ef77-4582-9271-ffba5e4cabc9" +ENGLISH_VALUE_ID = "de978fd0-2819-4855-8858-8c089780f32c" diff --git a/arches_rdm/tests.py b/arches_rdm/tests.py index 3a43be85..8bc18ce6 100644 --- a/arches_rdm/tests.py +++ b/arches_rdm/tests.py @@ -16,7 +16,7 @@ ) from arches_rdm.const import ( - AMERICAN_ENGLISH_VALUE_ID, + ENGLISH_VALUE_ID, CONCEPTS_GRAPH_ID, LANGUAGE_CONCEPT_ID, SCHEMES_GRAPH_ID, @@ -95,7 +95,7 @@ def setUpModule(): ) Value.objects.get_or_create( concept_id=LANGUAGE_CONCEPT_ID, - valueid=AMERICAN_ENGLISH_VALUE_ID, + valueid=ENGLISH_VALUE_ID, valuetype_id="prefLabel", value="en-US", ) @@ -123,7 +123,7 @@ def setUpTestData(cls): data={ SCHEME_NAME_CONTENT_NODE: localized_string("Test Scheme"), SCHEME_NAME_TYPE_NODE: [PREF_LABEL_VALUE_ID], - SCHEME_NAME_LANGUAGE_NODE: [AMERICAN_ENGLISH_VALUE_ID], + SCHEME_NAME_LANGUAGE_NODE: [ENGLISH_VALUE_ID], }, ) @@ -142,7 +142,7 @@ def setUpTestData(cls): data={ CONCEPT_NAME_CONTENT_NODE: localized_string(f"Concept {i + 1}"), CONCEPT_NAME_TYPE_NODE: [PREF_LABEL_VALUE_ID], - CONCEPT_NAME_LANGUAGE_NODE: [AMERICAN_ENGLISH_VALUE_ID], + CONCEPT_NAME_LANGUAGE_NODE: [ENGLISH_VALUE_ID], }, ) # Create top concept/narrower tile