Changeset 48939 for trunk/tests/phpunit/tests/term/wpGetObjectTerms.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpGetObjectTerms.php
r48937 r48939 590 590 ); 591 591 592 $this->assert EqualSets( array( $t1, $t2 ), $found );592 $this->assertSameSets( array( $t1, $t2 ), $found ); 593 593 } 594 594 … … 744 744 ); 745 745 746 $this->assert EqualSets( array( $terms[0], $terms[1] ), wp_list_pluck( $found, 'term_id' ) );746 $this->assertSameSets( array( $terms[0], $terms[1] ), wp_list_pluck( $found, 'term_id' ) ); 747 747 } 748 748 … … 867 867 ); 868 868 869 $this->assert EqualSets( array( $t1, $t2 ), wp_list_pluck( $found, 'term_id' ) );869 $this->assertSameSets( array( $t1, $t2 ), wp_list_pluck( $found, 'term_id' ) ); 870 870 871 871 $num_queries = $wpdb->num_queries; … … 893 893 ); 894 894 895 $this->assert EqualSets( $posts, wp_list_pluck( $found, 'object_id' ) );895 $this->assertSameSets( $posts, wp_list_pluck( $found, 'object_id' ) ); 896 896 } 897 897 … … 1000 1000 ); 1001 1001 1002 $this->assert EqualSets( $expected, $actual );1002 $this->assertSameSets( $expected, $actual ); 1003 1003 } 1004 1004 }
Note: See TracChangeset
for help on using the changeset viewer.