Changeset 45607 for trunk/tests/phpunit/tests/post/types.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/types.php
r43571 r45607 306 306 ); 307 307 308 $this->assertInternalType( 'int', array_search( 'bar', $wp->public_query_vars ) );309 $this->assertTrue( unregister_post_type( 'foo' ) ); 310 $this->assertFalse( array_search( 'bar', $wp->public_query_vars ) );308 $this->assertInternalType( 'int', array_search( 'bar', $wp->public_query_vars, true ) ); 309 $this->assertTrue( unregister_post_type( 'foo' ) ); 310 $this->assertFalse( array_search( 'bar', $wp->public_query_vars, true ) ); 311 311 } 312 312
Note: See TracChangeset
for help on using the changeset viewer.