From: Andrew Hunt Date: Sun, 27 Apr 2014 20:56:59 +0000 (-0400) Subject: CRM-14528 http test returned 301 redirect to https://civicrm.org X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ce64851fb19137e317a464458fc2eac1e644d2b4;p=civicrm-core.git CRM-14528 http test returned 301 redirect to https://civicrm.org ---------------------------------------- * CRM-14528: CRM_Utils_HttpClientTest gets redirect instead of expected file https://issues.civicrm.org/jira/browse/CRM-14528 --- diff --git a/tests/phpunit/CRM/Utils/HttpClientTest.php b/tests/phpunit/CRM/Utils/HttpClientTest.php index f1085de95b..445f271bb2 100644 --- a/tests/phpunit/CRM/Utils/HttpClientTest.php +++ b/tests/phpunit/CRM/Utils/HttpClientTest.php @@ -2,8 +2,8 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class CRM_Utils_HttpClientTest extends CiviUnitTestCase { - const VALID_HTTP_URL = 'http://civicrm.org/INSTALL.mysql.txt'; - const VALID_HTTP_REGEX = '/MySQL/'; + const VALID_HTTP_URL = 'http://sandbox.civicrm.org/'; + const VALID_HTTP_REGEX = '/