CRM_Utils_HttpClientTest - Use special purpose hostnames
authorTim Otten <totten@civicrm.org>
Fri, 2 Dec 2016 02:56:14 +0000 (18:56 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 2 Dec 2016 02:56:14 +0000 (18:56 -0800)
commit001b60bb69a4933eeaa7f3ddda088269d78c13d7
tree9200757665f0bb1d6847d0fa70cd1bad41b03ef8
parentce9cffa07ad2465b3fe0be13f74e6efabe827fa7
CRM_Utils_HttpClientTest - Use special purpose hostnames

This test issues a few real HTTP requests which are supposed to succeed or
fail in a prescribed way.  However, the examples were chosen for expedience
and leached off other/unrelated sites...  but this tends to break from
time-to-time (when the example system goes to HTTPS-only or changes their
content).

With this patch, all the examples point to dedicated sites which are
purpose-built for supporting integration tests.
tests/phpunit/CRM/Utils/HttpClientTest.php