mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Tests: Remove references to post status public.
Replace invalid post status `public` with the valid status `publish`. See #51802. git-svn-id: https://develop.svn.wordpress.org/trunk@49974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2449,7 +2449,7 @@ EOF;
|
||||
*/
|
||||
public function test_return_type_when_inserting_attachment_with_error_in_data() {
|
||||
$data = array(
|
||||
'post_status' => 'public',
|
||||
'post_status' => 'publish',
|
||||
'post_content' => 'Attachment content',
|
||||
'post_title' => 'Attachment Title',
|
||||
'post_date' => '2012-02-30 00:00:00',
|
||||
|
||||
Reference in New Issue
Block a user