Changeset 48939 for trunk/tests/phpunit/tests/post/wpPostType.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/wpPostType.php
r46586 r48939 23 23 $post_type_supports_after = get_all_post_type_supports( $post_type ); 24 24 25 $this->assert EqualSets(25 $this->assertSameSets( 26 26 array( 27 27 'title' => true, … … 30 30 $post_type_supports 31 31 ); 32 $this->assert EqualSets( array(), $post_type_supports_after );32 $this->assertSameSets( array(), $post_type_supports_after ); 33 33 } 34 34 … … 52 52 $post_type_supports_after = get_all_post_type_supports( $post_type ); 53 53 54 $this->assert EqualSets(54 $this->assertSameSets( 55 55 array( 56 56 'editor' => true, … … 60 60 $post_type_supports 61 61 ); 62 $this->assert EqualSets( array(), $post_type_supports_after );62 $this->assertSameSets( array(), $post_type_supports_after ); 63 63 } 64 64 … … 89 89 $post_type_supports_after = get_all_post_type_supports( $post_type ); 90 90 91 $this->assert EqualSets(91 $this->assertSameSets( 92 92 array( 93 93 'support_with_args' => array( … … 101 101 $post_type_supports 102 102 ); 103 $this->assert EqualSets( array(), $post_type_supports_after );103 $this->assertSameSets( array(), $post_type_supports_after ); 104 104 } 105 105 … … 214 214 unset( $wp_post_types[ $post_type ] ); 215 215 216 $this->assert EqualSets( array( 'post_tag' ), $taxonomies );217 $this->assert EqualSets( array(), $taxonomies_after );216 $this->assertSameSets( array( 'post_tag' ), $taxonomies ); 217 $this->assertSameSets( array(), $taxonomies_after ); 218 218 } 219 219 }
Note: See TracChangeset
for help on using the changeset viewer.