Changeset 5947 for trunk/tests/phpunit/testcases/topics/functions/topic.php
- Timestamp:
- 10/27/2015 01:07:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/topics/functions/topic.php
r5925 r5947 22 22 23 23 $t = $this->factory->topic->create( array( 24 'post_title' => 'Topic 1', 25 'post_content' => 'Content for Topic 1', 24 26 'post_parent' => $f, 25 27 'post_date' => $post_date, … … 41 43 $topic = bbp_get_topic( $t ); 42 44 45 remove_all_filters( 'bbp_get_topic_content' ); 46 43 47 // Topic post. 44 48 $this->assertSame( 'Topic 1', bbp_get_topic_title( $t ) ); 49 $this->assertSame( 'Content for Topic 1', bbp_get_topic_content( $t ) ); 45 50 $this->assertSame( 'publish', bbp_get_topic_status( $t ) ); 46 51 $this->assertSame( $f, wp_get_post_parent_id( $t ) );
Note: See TracChangeset
for help on using the changeset viewer.