Build: #367 failed

Job: Test, build and push docker image failed

Stages & jobs

  1. Default Stage

  2. QA

Ing edit concept actions should handle error in FETCh EXISTINg CONCEPt ERROr for fetching exing concepts: Test case result

The below summarizes the result of the test "Ing edit concept actions should handle error in FETCh EXISTINg CONCEPt ERROr for fetching exing concepts" in build 367 of Open Concept Lab - OCL Dictionary Manager - Default Job. View test case history
Description
Ing edit concept actions should handle error in FETCh EXISTINg CONCEPt ERROr for fetching exing concepts
Test class
Testing Edit concept actions should handle error in FETCH_EXISTING_CONCEPT_ERROR for fetching exing concepts
Method
Testing Edit concept actions should handle error in FETCH_EXISTING_CONCEPT_ERROR for fetching exing concepts
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

Error: expect(received).toEqual(expected)

Expected value to equal:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": "bad request", "type": "[concept] fetch_existing_concept_error"}, {"payload": false, "type": "[ui] toggle spinner"}]
Received:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": undefined, "type": "[concept] fetch_existing_concept_error"}, {"payload": false, "type": "[ui] toggle spinner"}]

Difference:

- Expected
+ Received

@@ -2,11 +2,11 @@
   Object {
     "payload": true,
     "type": "[ui] toggle spinner",
   },
   Object {
-    "payload": "bad request",
+    "payload": undefined,
     "type": "[concept] fetch_existing_concept_error",
   },
   Object {
     "payload": false,
     "type": "[ui] toggle spinner",
    at store.dispatch.then (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/dictionaryConcepts/actions/dictionaryConcept.test.js:725:34)