From 50c47fa78c7d047c1d2e6965740c9085f50b0a28 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 24 Nov 2015 21:59:23 +0000 Subject: [PATCH] HTTP Tests: Use `login.wordpress.org/wp-login.php` in `test_get_response_cookies()`. The old URL redirects to `login.wordpress.org` because it's the new canonical URL for all logins on wordpress.org. Fixes #34782. git-svn-id: https://develop.svn.wordpress.org/trunk@35734 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/http/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/http/functions.php b/tests/phpunit/tests/http/functions.php index 355682bf12..251ae3c4b2 100644 --- a/tests/phpunit/tests/http/functions.php +++ b/tests/phpunit/tests/http/functions.php @@ -80,7 +80,7 @@ class Tests_HTTP_Functions extends WP_UnitTestCase { * @ticket 33711 */ function test_get_response_cookies() { - $url = 'https://wordpress.org/wp-login.php'; + $url = 'https://login.wordpress.org/wp-login.php'; $response = wp_remote_head( $url ); $cookies = wp_remote_retrieve_cookies( $response );