Changeset 55076
- Timestamp:
- 01/16/2023 04:16:48 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpListFilter.php
r51666 r55076 12 12 * @dataProvider data_test_wp_list_filter 13 13 * 14 * @param array $ listAn array of objects to filter.15 * @param array $args An array of key => value arguments to match16 * against each object.17 * @param string $operator The logical operation to perform.18 * @param array $expected Expected result.14 * @param array $input_list An array of objects to filter. 15 * @param array $args An array of key => value arguments to match 16 * against each object. 17 * @param string $operator The logical operation to perform. 18 * @param array $expected Expected result. 19 19 */ 20 public function test_wp_list_filter( $ list, $args, $operator, $expected ) {21 $this->assertEqualSetsWithIndex( $expected, wp_list_filter( $ list, $args, $operator ) );20 public function test_wp_list_filter( $input_list, $args, $operator, $expected ) { 21 $this->assertEqualSetsWithIndex( $expected, wp_list_filter( $input_list, $args, $operator ) ); 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.