mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Tests: Fix typo in a test method name.
Follow-up to [52261]. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@52387 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names() and register_block_style().
|
||||
* Tests for register_block_type(), unregister_block_type(), get_dynamic_block_names(), and register_block_style().
|
||||
*
|
||||
* @since 5.0.0
|
||||
*
|
||||
@@ -573,7 +573,7 @@ class Tests_Blocks_Register extends WP_UnitTestCase {
|
||||
* @expectedIncorrectUsage WP_Block_Styles_Registry::register
|
||||
* @param array $block_styles Array of block styles to test.
|
||||
*/
|
||||
public function test_register_block_style_name_contain_spaces( array $block_styles ) {
|
||||
public function test_register_block_style_name_contains_spaces( array $block_styles ) {
|
||||
register_block_style( 'core/query', $block_styles );
|
||||
}
|
||||
|
||||
@@ -582,7 +582,7 @@ class Tests_Blocks_Register extends WP_UnitTestCase {
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function data_register_block_style_name_contain_spaces() {
|
||||
public function data_register_block_style_name_contains_spaces() {
|
||||
return array(
|
||||
'multiple spaces' => array(
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user