Skip to content

Commit

Permalink
Fix theme json php unit test for style variation selector
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Feb 6, 2024
1 parent fc4c25e commit fb14f6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -4090,9 +4090,9 @@ public function data_get_styles_for_block_with_style_variations() {
$plain = array(
'metadata' => array(
'path' => array( 'styles', 'blocks', 'core/quote', 'variations', 'plain' ),
'selector' => '.is-style-plain.is-style-plain.wp-block-quote',
'selector' => '.is-style-plain.wp-block-quote',
),
'styles' => '.is-style-plain.is-style-plain.wp-block-quote{background-color: hotpink;}',
'styles' => ':where(.is-style-plain.wp-block-quote){background-color: hotpink;}',
);

return array(
Expand Down

0 comments on commit fb14f6b

Please sign in to comment.