Block Editor: Fixes failing unit tests related to Social Link blocks
Follow-up for #47843 - update the WordPress Packages to the ones used in the Gutenberg 6.5 release. Props desrosj. Fixes #47843. git-svn-id: https://develop.svn.wordpress.org/trunk@46190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7178c62226
commit
09e56c04ad
@ -293,6 +293,7 @@ function _unhook_block_registration() {
|
||||
remove_action( 'init', 'register_block_core_rss' );
|
||||
remove_action( 'init', 'register_block_core_search' );
|
||||
remove_action( 'init', 'register_block_core_shortcode' );
|
||||
remove_action( 'init', 'register_block_core_social_link' );
|
||||
remove_action( 'init', 'register_block_core_tag_cloud' );
|
||||
}
|
||||
tests_add_filter( 'init', '_unhook_block_registration', 1000 );
|
||||
|
@ -128,6 +128,45 @@ class WP_Test_REST_Schema_Initialization extends WP_Test_REST_TestCase {
|
||||
'/wp/v2/block-renderer/(?P<name>core/rss)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/search)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/shortcode)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-amazon)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-bandcamp)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-behance)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-chain)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-codepen)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-deviantart)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-dribbble)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-dropbox)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-etsy)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-facebook)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-feed)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-fivehundredpx)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-flickr)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-foursquare)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-goodreads)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-google)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-github)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-instagram)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-lastfm)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-linkedin)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-mail)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-mastodon)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-meetup)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-medium)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-pinterest)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-pocket)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-reddit)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-skype)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-snapchat)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-soundcloud)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-spotify)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-tumblr)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-twitch)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-twitter)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-vimeo)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-vk)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-wordpress)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-yelp)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/social-link-youtube)',
|
||||
'/wp/v2/block-renderer/(?P<name>core/tag-cloud)',
|
||||
'/wp/v2/settings',
|
||||
'/wp/v2/themes',
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user