Changeset 52042 for trunk/tests/phpunit/tests/blocks/editor.php
- Timestamp:
- 11/08/2021 02:26:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/editor.php
r52010 r52042 171 171 $settings = get_default_block_editor_settings(); 172 172 173 $this->assertCount( 1 6, $settings );173 $this->assertCount( 17, $settings ); 174 174 $this->assertFalse( $settings['alignWide'] ); 175 175 $this->assertIsArray( $settings['allowedMimeTypes'] ); … … 494 494 $this->assertStringContainsString( '"\/wp\/v2\/types"', $after ); 495 495 } 496 497 /**498 * @ticket 53344499 */500 public function test_get_block_editor_theme_styles() {501 $theme_styles = get_block_editor_theme_styles();502 $this->assertCount( 1, $theme_styles );503 $this->assertSameSets(504 array(505 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }',506 '__unstableType' => 'core',507 ),508 $theme_styles[0]509 );510 }511 496 }
Note: See TracChangeset
for help on using the changeset viewer.