Changeset 54211 for trunk/tests/phpunit/tests/blocks/supportedStyles.php
- Timestamp:
- 09/19/2022 08:12:02 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/supportedStyles.php
r51657 r54211 221 221 ); 222 222 223 $expected_styles = 'test: style; color: #000; background-color:#fff;';223 $expected_styles = 'test: style;color:#000;background-color:#fff;'; 224 224 $expected_classes = 'foo-bar-class wp-block-example has-text-color has-background'; 225 225 … … 284 284 285 285 $expected_classes = 'foo-bar-class wp-block-example has-background'; 286 $expected_styles = 'test: style; background: 286 $expected_styles = 'test: style; background:some-gradient-style;'; 287 287 288 288 $this->assert_content_and_styles_and_classes_match( $block, $expected_classes, $expected_styles ); … … 564 564 565 565 $expected_classes = 'foo-bar-class wp-block-example has-text-color has-background alignwide'; 566 $expected_styles = 'test: style; color: #000; background-color:#fff; font-size: 10px; line-height: 20;';566 $expected_styles = 'test: style; color:#000; background-color:#fff; font-size: 10px; line-height: 20;'; 567 567 568 568 $this->assert_content_and_styles_and_classes_match( $block, $expected_classes, $expected_styles );
Note: See TracChangeset
for help on using the changeset viewer.