mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Tests: Use correct variable in _fake_download_url_non_200_response_code().
Follow-up to [55029]. See #56793. git-svn-id: https://develop.svn.wordpress.org/trunk@55031 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -69,7 +69,7 @@ class Tests_Admin_IncludesFile extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
public function _fake_download_url_non_200_response_code( $response, $parsed_args, $url ) {
|
||||
file_put_contents( $args['filename'], 'This is an unexpected error message from your favorite server.' );
|
||||
file_put_contents( $parsed_args['filename'], 'This is an unexpected error message from your favorite server.' );
|
||||
return array(
|
||||
'response' => array(
|
||||
'code' => 418,
|
||||
|
||||
Reference in New Issue
Block a user