- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpDeleteObjectTermRelationships.php
r46586 r48939 20 20 // Confirm the setup. 21 21 $terms = wp_get_object_terms( $object_id, array( 'wptests_tax1', 'wptests_tax2' ), array( 'fields' => 'ids' ) ); 22 $this->assert EqualSets( array( $t1, $t2 ), $terms );22 $this->assertSameSets( array( $t1, $t2 ), $terms ); 23 23 24 24 // wp_delete_object_term_relationships() doesn't have a return value. … … 26 26 $terms = wp_get_object_terms( $object_id, array( 'wptests_tax1', 'wptests_tax2' ), array( 'fields' => 'ids' ) ); 27 27 28 $this->assert EqualSets( array( $t1 ), $terms );28 $this->assertSameSets( array( $t1 ), $terms ); 29 29 } 30 30 … … 46 46 // Confirm the setup. 47 47 $terms = wp_get_object_terms( $object_id, array( 'wptests_tax1', 'wptests_tax2', 'wptests_tax3' ), array( 'fields' => 'ids' ) ); 48 $this->assert EqualSets( array( $t1, $t2, $t3 ), $terms );48 $this->assertSameSets( array( $t1, $t2, $t3 ), $terms ); 49 49 50 50 // wp_delete_object_term_relationships() doesn't have a return value. … … 52 52 $terms = wp_get_object_terms( $object_id, array( 'wptests_tax1', 'wptests_tax2', 'wptests_tax3' ), array( 'fields' => 'ids' ) ); 53 53 54 $this->assert EqualSets( array( $t2 ), $terms );54 $this->assertSameSets( array( $t2 ), $terms ); 55 55 } 56 56 }
Note: See TracChangeset
for help on using the changeset viewer.