From 132984c20f4a539dddeeaf7f9f65716854a89b55 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 13 Jun 2021 16:27:38 +0000 Subject: [PATCH] Tests: Fix typo in a `retrieve_widgets()` test name. Correct parameter description for `data_wp_widget_get_field_name()`. Follow-up to [34780], [41555]. See #52625. git-svn-id: https://develop.svn.wordpress.org/trunk@51140 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/widgets.php b/tests/phpunit/tests/widgets.php index 85270dcd1b..e1464a9398 100644 --- a/tests/phpunit/tests/widgets.php +++ b/tests/phpunit/tests/widgets.php @@ -488,7 +488,7 @@ class Tests_Widgets extends WP_UnitTestCase { * * @return array { * @type array { - * @type string $expected The expected field id to be returned. + * @type string $expected The expected field name to be returned. * @type string $value_to_test The value being passed to the get_field_name method. * } * } @@ -1082,7 +1082,7 @@ class Tests_Widgets extends WP_UnitTestCase { $this->assertNotEquals( $sidebars_widgets, wp_get_sidebars_widgets() ); } - function test_retreive_widgets_with_single_widget() { + function test_retrieve_widgets_with_single_widget() { global $sidebars_widgets; wp_widgets_init();