Changeset 51200 for trunk/tests/phpunit/tests/blocks/block-editor.php
- Timestamp:
- 06/22/2021 01:32:42 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-editor.php
r51149 r51200 430 430 $this->assertContains( '"\/wp\/v2\/types"', $after ); 431 431 } 432 433 /** 434 * @ticket 53344 435 */ 436 function test_get_block_editor_theme_styles() { 437 $theme_styles = get_block_editor_theme_styles(); 438 $this->assertCount( 1, $theme_styles ); 439 $this->assertSameSets( 440 array( 441 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }', 442 '__unstableType' => 'core', 443 ), 444 $theme_styles[0] 445 ); 446 } 432 447 }
Note: See TracChangeset
for help on using the changeset viewer.