Skip to content

Commit

Permalink
Global styles tests: fire hooks when updating post (#54836)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Silverstein <[email protected]>
  • Loading branch information
Mamaduka and adamsilverstein authored Sep 26, 2023
1 parent 1c30e9d commit 9a34f30
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static function wpSetupBeforeClass( $factory ) {
),
);

wp_update_post( $new_styles_post, true, false );
wp_update_post( $new_styles_post, true, true );

$new_styles_post = array(
'ID' => self::$global_styles_id,
Expand Down Expand Up @@ -160,7 +160,7 @@ public static function wpSetupBeforeClass( $factory ) {
),
);

wp_update_post( $new_styles_post, true, false );
wp_update_post( $new_styles_post, true, true );

$new_styles_post = array(
'ID' => self::$global_styles_id,
Expand Down Expand Up @@ -190,7 +190,7 @@ public static function wpSetupBeforeClass( $factory ) {
),
);

wp_update_post( $new_styles_post, true, false );
wp_update_post( $new_styles_post, true, true );
wp_set_current_user( 0 );
}

Expand Down

0 comments on commit 9a34f30

Please sign in to comment.