Changeset 50996 for trunk/tests/phpunit/tests/blocks/block-editor.php
- Timestamp:
- 05/25/2021 08:38:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-editor.php
r50983 r50996 160 160 $settings = get_default_block_editor_settings(); 161 161 162 $this->assertCount( 1 6, $settings );162 $this->assertCount( 17, $settings ); 163 163 $this->assertFalse( $settings['alignWide'] ); 164 164 $this->assertInternalType( 'array', $settings['allowedMimeTypes'] ); … … 255 255 ); 256 256 $this->assertInternalType( 'int', $settings['maxUploadFileSize'] ); 257 $this->assertSameSets( 258 array( 259 'archives', 260 'block', 261 'calendar', 262 'categories', 263 'custom_html', 264 'media_audio', 265 'media_gallery', 266 'media_image', 267 'media_video', 268 'meta', 269 'nav_menu', 270 'pages', 271 'recent-comments', 272 'recent-posts', 273 'rss', 274 'search', 275 'tag_cloud', 276 'text', 277 ), 278 $settings['widgetTypesToHideFromLegacyWidgetBlock'] 279 ); 257 280 } 258 281
Note: See TracChangeset
for help on using the changeset viewer.