mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 23:50:43 +01: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:
parent
45053ef512
commit
096878791e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user