MantisBT: master-1.2.x 59ec39d5

Author Committer Branch Timestamp Parent
Damien Regad dregad master-1.2.x 2013-05-07 06:26 master-1.2.x 220fcc43
Affected Issues  0015817: SOAP API unit test failures
Changeset

soap/AttachmentTest.php: fix reference download URL

mc_issue_api.php/mci_issue_get_attachments() generates the download URL
with '&' while the test suite compares it with '&'. In some cases
the soap api returns '&' while in most cases it returns '&'.

To fix the problem we decode the string with html_entity_decode() before
comparing it.

Fixes 0015817

mod - tests/soap/AttachmentTest.php Diff File