Changeset 48939 for trunk/tests/phpunit/tests/term/meta.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/meta.php
r48937 r48939 67 67 ); 68 68 69 $this->assert EqualSets( $expected, $found );69 $this->assertSameSets( $expected, $found ); 70 70 } 71 71 … … 79 79 $expected = array( 'bar', 'baz' ); 80 80 81 $this->assert EqualSets( $expected, $found );81 $this->assertSameSets( $expected, $found ); 82 82 } 83 83 … … 246 246 ); 247 247 248 $this->assert EqualSets( array( $terms[0] ), $found );248 $this->assertSameSets( array( $terms[0] ), $found ); 249 249 250 250 add_term_meta( $terms[1], 'foo', 'bar' ); … … 264 264 ); 265 265 266 $this->assert EqualSets( array( $terms[0], $terms[1] ), $found );266 $this->assertSameSets( array( $terms[0], $terms[1] ), $found ); 267 267 } 268 268 … … 288 288 ); 289 289 290 $this->assert EqualSets( array( $terms[0] ), $found );290 $this->assertSameSets( array( $terms[0] ), $found ); 291 291 292 292 update_term_meta( $terms[1], 'foo', 'bar' ); … … 306 306 ); 307 307 308 $this->assert EqualSets( array( $terms[0], $terms[1] ), $found );308 $this->assertSameSets( array( $terms[0], $terms[1] ), $found ); 309 309 } 310 310 … … 330 330 ); 331 331 332 $this->assert EqualSets( array( $terms[0], $terms[1] ), $found );332 $this->assertSameSets( array( $terms[0], $terms[1] ), $found ); 333 333 334 334 delete_term_meta( $terms[1], 'foo', 'bar' ); … … 348 348 ); 349 349 350 $this->assert EqualSets( array( $terms[0] ), $found );350 $this->assertSameSets( array( $terms[0] ), $found ); 351 351 } 352 352
Note: See TracChangeset
for help on using the changeset viewer.