mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@39848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
35bd561765
commit
9b8cc14192
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(
|
||||
'file' => array(
|
||||
'file' => file_get_contents( $this->test_file2 ),
|
||||
'name' => 'codeispoetry.jpg',
|
||||
'name' => 'codeispoetry.png',
|
||||
'size' => filesize( $this->test_file2 ),
|
||||
'tmp_name' => $this->test_file2,
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user