----------------------------------------
* CRM-14528: CRM_Utils_HttpClientTest gets redirect instead of expected file
https://issues.civicrm.org/jira/browse/CRM-14528
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 = '/<html/';
const VALID_HTTPS_URL = 'https://civicrm.org/INSTALL.mysql.txt';
const VALID_HTTPS_REGEX = '/MySQL/';
const SELF_SIGNED_HTTPS_URL = 'https://self-signed.onebitwise.com:4443/';