Changeset 55078
- Timestamp:
- 01/16/2023 04:24:45 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpListSort.php
r54855 r55078 16 16 * @param string $order Either 'ASC' or 'DESC'. 17 17 */ 18 public function test_wp_list_sort( $ list, $orderby, $order, $expected ) {19 $this->assertSame( $expected, wp_list_sort( $ list, $orderby, $order ) );18 public function test_wp_list_sort( $input_list, $orderby, $order, $expected ) { 19 $this->assertSame( $expected, wp_list_sort( $input_list, $orderby, $order ) ); 20 20 } 21 21 … … 341 341 * @param string $order Either 'ASC' or 'DESC'. 342 342 */ 343 public function test_wp_list_sort_preserve_keys( $ list, $orderby, $order, $expected ) {344 $this->assertSame( $expected, wp_list_sort( $ list, $orderby, $order, true ) );343 public function test_wp_list_sort_preserve_keys( $input_list, $orderby, $order, $expected ) { 344 $this->assertSame( $expected, wp_list_sort( $input_list, $orderby, $order, true ) ); 345 345 } 346 346
Note: See TracChangeset
for help on using the changeset viewer.