Changeset 48939 for trunk/tests/phpunit/tests/functions/wpListUtil.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpListUtil.php
r48937 r48939 74 74 'key', 75 75 array( 76 'bar', 76 77 'bar' => 'foo', 77 78 'value' => 'baz', 78 'bar',79 79 ), 80 80 ), … … 145 145 'key', 146 146 array( 147 'bar', 147 148 'bar' => 'foo', 148 149 'value' => 'baz', 149 'bar',150 150 ), 151 151 ), … … 162 162 */ 163 163 public function test_wp_list_pluck( $list, $field, $index_key, $expected ) { 164 $this->assert EqualSetsWithIndex( $expected, wp_list_pluck( $list, $field, $index_key ) );164 $this->assertSameSetsWithIndex( $expected, wp_list_pluck( $list, $field, $index_key ) ); 165 165 } 166 166 … … 1024 1024 $util = new WP_List_Util( $input ); 1025 1025 1026 $this->assert EqualSets( $input, $util->get_input() );1026 $this->assertSameSets( $input, $util->get_input() ); 1027 1027 } 1028 1028 … … 1031 1031 $util = new WP_List_Util( $input ); 1032 1032 1033 $this->assert EqualSets( $input, $util->get_output() );1033 $this->assertSameSets( $input, $util->get_output() ); 1034 1034 } 1035 1035
Note: See TracChangeset
for help on using the changeset viewer.