- Timestamp:
- 05/13/2015 04:57:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/replies/template/post_type.php
r5722 r5746 17 17 $r = $this->factory->reply->create(); 18 18 19 $robj = get_post_type_object( 'reply' ); 20 $this->assertInstanceOf( 'stdClass', $robj ); 21 $this->assertEquals( 'reply', $robj->name ); 22 23 // Test some defaults 24 $this->assertFalse( is_post_type_hierarchical( 'topic' ) ); 19 25 $reply_type = bbp_reply_post_type( $r ); 20 26 $this->expectOutputString( 'reply', $reply_type );
Note: See TracChangeset
for help on using the changeset viewer.