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:
Peter Wilson
2021-01-18 03:26:29 +00:00
parent e7cebf49e5
commit 5582e4965c
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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',