Changeset 38571 for trunk/tests/phpunit/tests/post/types.php
- Timestamp:
- 09/08/2016 03:54:13 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/types.php
r37890 r38571 447 447 $this->assertSame( 1, count( $wp_filter['future_foo'] ) ); 448 448 $this->assertTrue( unregister_post_type( 'foo' ) ); 449 $this->assert Same( array(), $wp_filter['future_foo']);449 $this->assertArrayNotHasKey( 'future_foo', $wp_filter ); 450 450 } 451 451 … … 463 463 $this->assertSame( 1, count( $wp_filter['add_meta_boxes_foo'] ) ); 464 464 $this->assertTrue( unregister_post_type( 'foo' ) ); 465 $this->assert Same( array(), $wp_filter['add_meta_boxes_foo']);465 $this->assertArrayNotHasKey( 'add_meta_boxes_foo', $wp_filter ); 466 466 } 467 467
Note: See TracChangeset
for help on using the changeset viewer.