From a3fd024eba593a25222cdd125b24e76cb240ce08 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 18 Dec 2021 21:16:37 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/blocks/register.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/blocks/register.php b/tests/phpunit/tests/blocks/register.php index b9efb5ee68..76283f4b00 100644 --- a/tests/phpunit/tests/blocks/register.php +++ b/tests/phpunit/tests/blocks/register.php @@ -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(