Changeset 48939 for trunk/tests/phpunit/tests/term/getTheTerms.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTheTerms.php
r48937 r48939 112 112 $found = get_the_terms( $p, 'wptests_tax' ); 113 113 114 $this->assert EqualSets( array( 0, 1 ), array_keys( $found ) );114 $this->assertSameSets( array( 0, 1 ), array_keys( $found ) ); 115 115 } 116 116 … … 128 128 $found = get_the_terms( $p, 'wptests_tax' ); 129 129 130 $this->assert EqualSets( array( 0, 1 ), array_keys( $found ) );130 $this->assertSameSets( array( 0, 1 ), array_keys( $found ) ); 131 131 } 132 132 … … 214 214 $found = get_the_terms( self::$post_ids[0], 'wptests_tax' ); 215 215 216 $this->assert EqualSets( $terms, wp_list_pluck( $found, 'term_id' ) );216 $this->assertSameSets( $terms, wp_list_pluck( $found, 'term_id' ) ); 217 217 218 218 $num_queries++;
Note: See TracChangeset
for help on using the changeset viewer.