Block Editor: Fix unit tests after new blocks addition.

- Regenerate the REST API fixtures.
 - Remove the block registration hooks in the unit tests.

Refs #46429.


git-svn-id: https://develop.svn.wordpress.org/trunk@44812 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Riad Benguella
2019-03-07 11:53:15 +00:00
parent 0ad7b1a169
commit ccfb76d26f
4 changed files with 169 additions and 1 deletions

View File

@@ -549,7 +549,7 @@ function wp_default_packages_inline_scripts( &$scripts ) {
' wp.data',
' .use( wp.data.plugins.persistence, { storageKey: storageKey } )',
' .use( wp.data.plugins.controls );',
' wp.data.plugins.persistence.__unstableMigrate( { storageKey: storageKey } );',
' wp.data.plugins.persistence.__unstableMigrate( { storageKey: storageKey } );',
'} )();',
)
)