From 2f8a627bd16f615d7b5775f56b7347af6a679b39 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 12 Jun 2022 15:16:09 +0000 Subject: [PATCH] Tests: Use a consistent URL in HTTP response cookie tests. Follow-up to [34369], [35734], [38164]. See #51568. git-svn-id: https://develop.svn.wordpress.org/trunk@53491 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/http/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/http/functions.php b/tests/phpunit/tests/http/functions.php index 43ec8fd12c..49854e0053 100644 --- a/tests/phpunit/tests/http/functions.php +++ b/tests/phpunit/tests/http/functions.php @@ -147,7 +147,7 @@ class Tests_HTTP_Functions extends WP_UnitTestCase { * @covers ::wp_remote_retrieve_cookie */ public function test_get_response_cookies_with_wp_http_cookie_object() { - $url = 'http://example.org'; + $url = 'https://login.wordpress.org/wp-login.php'; $response = wp_remote_get( $url, @@ -183,7 +183,7 @@ class Tests_HTTP_Functions extends WP_UnitTestCase { * @covers ::wp_remote_retrieve_cookie */ public function test_get_response_cookies_with_name_value_array() { - $url = 'http://example.org'; + $url = 'https://login.wordpress.org/wp-login.php'; $response = wp_remote_get( $url,