Skip to content

Commit

Permalink
Comment the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng committed Jan 12, 2023
1 parent 1a892f3 commit 0a5fe1e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion phpunit/class-wp-theme-json-resolver-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,13 @@ public function data_get_merged_data_returns_origin() {
);
}

public function test_get_style_variations_returns_all_variations() {

/**
* Test that get_style_variations returns all variations, including parent theme variations if the theme is a child.
*
* @covers WP_Theme_JSON_Resolver::get_style_variations
**/
public function test_get_style_variations_returns_all_variations() {
// Switch to a child theme.
switch_theme( 'block-theme-child' );
wp_set_current_user( self::$administrator_id );
Expand Down

0 comments on commit 0a5fe1e

Please sign in to comment.