diff --git a/tests/phpunit/tests/functions/wpListSort.php b/tests/phpunit/tests/functions/wpListSort.php index e493cd2321..a77354d70e 100644 --- a/tests/phpunit/tests/functions/wpListSort.php +++ b/tests/phpunit/tests/functions/wpListSort.php @@ -15,8 +15,8 @@ class Tests_Functions_wpListSort extends WP_UnitTestCase { * of multiple orderby fields as `$orderby => $order`. * @param string $order Either 'ASC' or 'DESC'. */ - public function test_wp_list_sort( $list, $orderby, $order, $expected ) { - $this->assertSame( $expected, wp_list_sort( $list, $orderby, $order ) ); + public function test_wp_list_sort( $input_list, $orderby, $order, $expected ) { + $this->assertSame( $expected, wp_list_sort( $input_list, $orderby, $order ) ); } public function data_test_wp_list_sort() { @@ -340,8 +340,8 @@ class Tests_Functions_wpListSort extends WP_UnitTestCase { * of multiple orderby fields as `$orderby => $order`. * @param string $order Either 'ASC' or 'DESC'. */ - public function test_wp_list_sort_preserve_keys( $list, $orderby, $order, $expected ) { - $this->assertSame( $expected, wp_list_sort( $list, $orderby, $order, true ) ); + public function test_wp_list_sort_preserve_keys( $input_list, $orderby, $order, $expected ) { + $this->assertSame( $expected, wp_list_sort( $input_list, $orderby, $order, true ) ); } public function data_test_wp_list_sort_preserve_keys() {