Skip to content

Commit

Permalink
Update test expectation so test passes
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Jul 30, 2024
1 parent dbf4cb2 commit 97f668d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ public function test_get_stylesheet_preset_classes_work_with_compounded_selector
);

$this->assertSameCSS(
'.wp-block-heading.has-grey-color{color: var(--wp--preset--color--white) !important;}.wp-block-heading.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.wp-block-heading.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}',
'.wp-block-heading.has-white-color{color: var(--wp--preset--color--white) !important;}.wp-block-heading.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.wp-block-heading.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}',
$theme_json->get_stylesheet( array( 'presets' ) )
);
}
Expand Down

0 comments on commit 97f668d

Please sign in to comment.