- Timestamp:
- 08/24/2015 09:55:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/tests/phpunit/testcases/replies/functions/reply.php ¶
r5779 r5925 33 33 ) ); 34 34 35 // reply post 35 // Get the reply. 36 $reply = bbp_get_reply( $r ); 37 38 // Reply post. 36 39 $this->assertSame( 'Reply To: Topic 1', bbp_get_reply_title( $r ) ); 37 40 $this->assertSame( 'publish', bbp_get_reply_status( $r ) ); 38 $this->assertSame( $t, wp_get_post_parent_id( $r ) ); // post parent 39 40 // reply meta 41 $this->assertSame( $f, bbp_get_reply_forum_id( $r ) ); // _bbp_forum_id 42 $this->assertSame( $t, bbp_get_reply_topic_id( $r ) ); // _bbp_forum_id 41 $this->assertSame( $t, wp_get_post_parent_id( $r ) ); 42 $this->assertEquals( 'http://' . WP_TESTS_DOMAIN . '/?reply=' . $reply->post_name, $reply->guid ); 43 44 // Reply meta. 45 $this->assertSame( $f, bbp_get_reply_forum_id( $r ) ); 46 $this->assertSame( $t, bbp_get_reply_topic_id( $r ) ); 43 47 } 44 48
Note: See TracChangeset
for help on using the changeset viewer.