Skip to content

Commit 438380c

Browse files
committed
Fix failing unit tests
1 parent 8b5dd7a commit 438380c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ public function test_use_block_editor_for_post() {
826826
*/
827827
public function test_wp_insert_post_handle_malformed_post_date( $input, $expected ) {
828828
$post = array(
829-
'post_author' => self::$editor_id,
829+
'post_author' => self::$user_ids['editor'],
830830
'post_status' => 'publish',
831831
'post_content' => 'content',
832832
'post_title' => 'title',

0 commit comments

Comments
 (0)