Skip to content

Commit

Permalink
Fix PHPUnit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored and oandregal committed Nov 18, 2021
1 parent 3f15ebe commit d3906db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpunit/class-wp-theme-json-resolver-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ function test_translations_are_applied() {
}

function test_switching_themes_recalculates_data() {
// By default, the theme for unit tests is "default",
// which doesn't have theme.json support.
// The "default" theme doesn't have theme.json support.
switch_theme( 'default' );
$default = WP_Theme_JSON_Resolver_Gutenberg::theme_has_support();

// Switch to a theme that does have support.
Expand Down

0 comments on commit d3906db

Please sign in to comment.