File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/phpunit/tests/admin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -918,7 +918,7 @@ public function test_get_block_editor_server_block_settings() {
918918 'render_callback ' => 'foo ' ,
919919 'ancestor ' => array ( 'core/test-ancestor ' ),
920920 'selectors ' => array ( 'root ' => '.wp-block-test ' ),
921- 'blockHooks ' => array ( 'core/post-content ' => 'before ' ),
921+ 'block_hooks ' => array ( 'core/post-content ' => 'before ' ),
922922 );
923923
924924 register_block_type ( $ name , $ settings );
@@ -938,8 +938,8 @@ public function test_get_block_editor_server_block_settings() {
938938 'lock ' => array ( 'type ' => 'object ' ),
939939 ),
940940 'usesContext ' => array (),
941- 'selectors ' => array ( 'root ' => '.wp-block-test ' ),
942941 'blockHooks ' => array ( 'core/post-content ' => 'before ' ),
942+ 'selectors ' => array ( 'root ' => '.wp-block-test ' ),
943943 'category ' => 'common ' ,
944944 'styles ' => array (),
945945 'ancestor ' => array ( 'core/test-ancestor ' ),
You can’t perform that action at this time.
0 commit comments