Changeset 31457 for trunk/tests/phpunit/tests/post/types.php
- Timestamp:
- 02/13/2015 11:33:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/types.php
r31450 r31457 25 25 * @expectedIncorrectUsage register_post_type 26 26 */ 27 function test_register_post_type_ length_long() {27 function test_register_post_type_with_too_long_name() { 28 28 // post type too long 29 29 $this->assertInstanceOf( 'WP_Error', register_post_type( 'abcdefghijklmnopqrstuvwxyz0123456789' ) ); … … 35 35 * @expectedIncorrectUsage register_post_type 36 36 */ 37 function test_register_post_type_ length_short() {37 function test_register_post_type_with_empty_name() { 38 38 // post type too short 39 39 $this->assertInstanceOf( 'WP_Error', register_post_type( '' ) );
Note: See TracChangeset
for help on using the changeset viewer.