From c3a4f536686e820cea41f118839f422c301380b3 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Mon, 12 Oct 2015 16:51:12 +1000 Subject: [PATCH] Use Heroku instance for tests by default --- tests/bootstrap.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 3e93da0ad..8cc8c0e19 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -12,11 +12,7 @@ function define_from_env($name, $default = false) { } } -$host = getenv('REQUESTS_TEST_HOST'); -if (empty($host)) { - $host = 'httpbin.org'; -} -define_from_env('REQUESTS_TEST_HOST', 'httpbin.org'); +define_from_env('REQUESTS_TEST_HOST', 'requests-php-tests.herokuapp.com'); define_from_env('REQUESTS_TEST_HOST_HTTP', REQUESTS_TEST_HOST); define_from_env('REQUESTS_TEST_HOST_HTTPS', REQUESTS_TEST_HOST);