Changeset 48939 for trunk/tests/phpunit/tests/post/types.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/types.php
r48937 r48939 414 414 ); 415 415 416 $this->assert EqualSetsWithIndex(416 $this->assertSameSetsWithIndex( 417 417 array( 418 418 'editor' => true, … … 564 564 */ 565 565 public function test_get_post_types_by_support_excluding_features() { 566 $this->assert EqualSets( array(), get_post_types_by_support( array( 'post-formats', 'page-attributes' ) ) );566 $this->assertSameSets( array(), get_post_types_by_support( array( 'post-formats', 'page-attributes' ) ) ); 567 567 } 568 568 … … 571 571 */ 572 572 public function test_get_post_types_by_support_non_existant_feature() { 573 $this->assert EqualSets( array(), get_post_types_by_support( 'somefeature' ) );573 $this->assertSameSets( array(), get_post_types_by_support( 'somefeature' ) ); 574 574 } 575 575 }
Note: See TracChangeset
for help on using the changeset viewer.