MantisBT: master 9b3d9f76

Author Committer Branch Timestamp Parent
Damien Regad dregad master 2013-05-07 06:26 master 4465b2f1
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