Make WordPress Core

Changeset 55031


Ignore:
Timestamp:
01/05/2023 10:47:19 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Tests: Use correct variable in _fake_download_url_non_200_response_code().

Follow-up to [55029].

See #56793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesFile.php

    r55029 r55031  
    7070
    7171    public function _fake_download_url_non_200_response_code( $response, $parsed_args, $url ) {
    72         file_put_contents( $args['filename'], 'This is an unexpected error message from your favorite server.' );
     72        file_put_contents( $parsed_args['filename'], 'This is an unexpected error message from your favorite server.' );
    7373        return array(
    7474            'response' => array(
Note: See TracChangeset for help on using the changeset viewer.