Skip to content

Commit

Permalink
Add publish post status.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuasha420 committed Jul 20, 2022
1 parent 854df1d commit 8f1fe3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ private function create_post_and_go_to_it() {
$post_ID = $this->factory()->post->create(
array(
'post_content' => '<p>Hello World</p><p>Goodbye World</p>',
'post_status' => 'publish',
)
);
$this->go_to( get_permalink( $post_ID ) );
Expand Down

0 comments on commit 8f1fe3a

Please sign in to comment.