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. Merges [39848] to the 4.7 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39849 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ebda9908e5
commit
5e7d198785
Binary file not shown.
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 3.0 KiB |
@ -515,7 +515,7 @@ class WP_Test_REST_Attachments_Controller extends WP_Test_REST_Post_Type_Control
|
|||||||
$request->set_file_params( array(
|
$request->set_file_params( array(
|
||||||
'file' => array(
|
'file' => array(
|
||||||
'file' => file_get_contents( $this->test_file2 ),
|
'file' => file_get_contents( $this->test_file2 ),
|
||||||
'name' => 'codeispoetry.jpg',
|
'name' => 'codeispoetry.png',
|
||||||
'size' => filesize( $this->test_file2 ),
|
'size' => filesize( $this->test_file2 ),
|
||||||
'tmp_name' => $this->test_file2,
|
'tmp_name' => $this->test_file2,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user