diff --git a/tests/phpunit/tests/blocks/supportedStyles.php b/tests/phpunit/tests/blocks/supportedStyles.php index bdbf91aa2eb13..222c3cd010dcd 100644 --- a/tests/phpunit/tests/blocks/supportedStyles.php +++ b/tests/phpunit/tests/blocks/supportedStyles.php @@ -379,7 +379,7 @@ public function test_custom_font_size() { ); $expected_classes = 'foo-bar-class wp-block-example'; - $expected_styles = 'test: style; font-size: 10px;'; + $expected_styles = 'test: style; font-size:10px;'; $this->assert_content_and_styles_and_classes_match( $block, $expected_classes, $expected_styles ); } @@ -436,7 +436,7 @@ public function test_line_height() { ); $expected_classes = 'foo-bar-class wp-block-example'; - $expected_styles = 'test: style; line-height: 10;'; + $expected_styles = 'test: style; line-height:10;'; $this->assert_content_and_styles_and_classes_match( $block, $expected_classes, $expected_styles ); } @@ -563,7 +563,7 @@ public function test_all_supported() { ); $expected_classes = 'foo-bar-class wp-block-example has-text-color has-background alignwide'; - $expected_styles = 'test: style; color: #000; background-color: #fff; font-size: 10px; line-height: 20;'; + $expected_styles = 'test: style; color: #000; background-color: #fff; font-size:10px; line-height:20;'; $this->assert_content_and_styles_and_classes_match( $block, $expected_classes, $expected_styles ); } @@ -606,7 +606,7 @@ public function test_one_supported() { ); $expected_classes = 'foo-bar-class wp-block-example'; - $expected_styles = 'test: style; font-size: 10px;'; + $expected_styles = 'test: style; font-size:10px;'; $this->assert_content_and_styles_and_classes_match( $block, $expected_classes, $expected_styles ); }