Advertisement
yusitnikov

CN-1670 reproduction in unit tests

Apr 26th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. Running /TestCases/ReplacePositionToStepTest.php
  2. Failed assertion. Expected:
  3. array(
  4. 'httpCode' => 200,
  5. 'output' => '',
  6. 'data' => array(
  7. 'data' => array(
  8. 'failed' => 0,
  9. ),
  10. 'messages' => array(
  11. array(
  12. 'success' => true,
  13. ),
  14. ),
  15. ),
  16. )
  17. Got:
  18. array(
  19. 'data' => array(
  20. 'messages' => array(
  21. array(
  22. 'success' => false,
  23. ),
  24. array(
  25. 'error' => 'Internal server error',
  26. 'id' => null,
  27. 'type' => '',
  28. 'group' => '',
  29. 'data' => array(
  30. 'message' => 'denormalized fields update fail',
  31. 'report' => array(
  32. 'cln_events' => array(
  33. 1801439851573964686 => array(
  34. 'candidates_count' => array(
  35. 'from' => '2',
  36. 'to' => '1',
  37. ),
  38. ),
  39. ),
  40. ),
  41. ),
  42. ),
  43. ),
  44. ),
  45. 'httpCode' => 500,
  46. 'output' => '',
  47. 'headers' => array(),
  48. )
  49. Diff path: httpCode/. Expected: 200, got: 500 at line 574, 731
  50. FAIL 79.184835195541
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement