Commit 20744098 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

Merge branch 'fix/incorrect-expectations-lang-filter' into 'develop'

fix(langprop): incorrect expectations when any language filter

See merge request cim/ngsi-ld-test-suite!146
parents 91b60141 4053916e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@ Retrieve Entity With Language Filter
    ...    ${expectation_filename}
    ...    ${entity_id}
    ...    ${response.json()}
    ...    ${True}

Create Initial Entity
    ${entity_id}=    Generate Random Entity Id    ${building_id_prefix}
+1 −6
Original line number Diff line number Diff line
{
  "id": "urn:ngsi-ld:Building:randomUUID",
  "type": "Building",
  "street": {
    "languageMap": {
      "fr": "Grand Place",
      "nl": "Grote Markt"
    }
  },
  "street": "Grand Place",
  "@context": [
    "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld"
  ]
+3 −5
Original line number Diff line number Diff line
@@ -2,11 +2,9 @@
  "id": "urn:ngsi-ld:Building:randomUUID",
  "type": "Building",
  "street": {
    "type": "LanguageProperty",
    "languageMap": {
      "fr": "Grand Place",
      "nl": "Grote Markt"
    }
    "type": "Property",
    "value": "Grand Place",
    "lang": "fr"
  },
  "@context": [
    "https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld"