WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2017 04:24:30 PM (4 years ago)
Author:
joemcgill
Message:

Tests: Replace broken codeispoetry.png file.

This also updates the test filename in
WP_Test_REST_Attachments_Controller::test_create_item_default_filename_title()
to accurately match the actual file name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php

    r39598 r39848  
    516516            'file' => array(
    517517                'file'     => file_get_contents( $this->test_file2 ),
    518                 'name'     => 'codeispoetry.jpg',
     518                'name'     => 'codeispoetry.png',
    519519                'size'     => filesize( $this->test_file2 ),
    520520                'tmp_name' => $this->test_file2,
Note: See TracChangeset for help on using the changeset viewer.