mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
793fa4185d
commit
2f8a627bd1
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user