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
This commit is contained in:
Dominik Schilling (ocean90) 2015-11-24 21:59:23 +00:00
parent a32d38c9f0
commit 50c47fa78c
1 changed files with 1 additions and 1 deletions

View File

@ -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 );