Build: #434 failed

Job: Test, build and push docker image failed

Stages & jobs

  1. Default Stage

  2. QA

suite for add bulk concepts async actions should notify user when one tries to add a duplicate concept: Test case result

The below summarizes the result of the test " suite for add bulk concepts async actions should notify user when one tries to add a duplicate concept" in build 434 of Open Concept Lab - OCL Dictionary Manager - Default Job. View test case history
Description
suite for add bulk concepts async actions should notify user when one tries to add a duplicate concept
Test class
Test suite for addBulkConcepts async actions should notify user when one tries to add a duplicate concept
Method
Test suite for addBulkConcepts async actions should notify user when one tries to add a duplicate concept
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

Error: expect(received).toEqual(expected)

Expected value to equal:
  [{"payload": [{"added": false, "concepts": {"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}}], "type": "[concepts] add_existing_concepts"}]
Received:
  [{"payload": [{"added": true, "concepts": {"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}}], "type": "[concepts] add_existing_concepts"}]

Difference:

- Expected
+ Received

@@ -1,10 +1,10 @@
  Array [
    Object {
      "payload": Array [
        Object {
-         "added": false,
+         "added": true,
          "concepts": Object {
            "concept_class": "Diagnosis",
            "datatype": "N/A",
            "descriptions": Array [
              Object {
    at toEqual (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/bulkConcepts/actions/bulkConcept.test.js:86:34)