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();