Skip to content
Closed
Prev Previous commit
Lint: accomodate to core standards
  • Loading branch information
oandregal committed Jun 12, 2024
commit f6309c0e7e19b47e3d8990b1943f83f54c5b8198
8 changes: 5 additions & 3 deletions tests/phpunit/tests/block-supports/block-style-variations.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ public function filter_set_theme_root() {
public function test_add_registered_block_styles_to_theme_data() {
switch_theme( 'block-theme' );

// Trigger block style registration that occurs on `init` action.
// do_action( 'init' ) could be used here however this direct call
// means only the updates being tested are performed.
/*
* Trigger block style registration that occurs on `init` action.
* do_action( 'init' ) could be used here however this direct call
* means only the updates being tested are performed.
*/
wp_register_block_style_variations_from_theme();

$variation_styles_data = array(
Expand Down