Changeset 5769
- Timestamp:
- 05/14/2015 02:42:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/topics/functions/counts.php
r5719 r5769 19 19 $this->assertSame( '0', $count ); 20 20 21 bbp_bump_topic_reply_count( $t ); 21 $count = bbp_bump_topic_reply_count( $t ); 22 $this->assertSame( 1, $count ); 23 24 $count = bbp_bump_topic_reply_count( $t, 3 ); 22 25 23 26 $count = bbp_get_topic_reply_count( $t ); 24 $this->assertSame( ' 1', $count );27 $this->assertSame( '4', $count ); 25 28 } 26 29 … … 34 37 $this->assertSame( '0', $count ); 35 38 36 bbp_bump_topic_reply_count_hidden( $t ); 39 $count = bbp_bump_topic_reply_count_hidden( $t ); 40 $this->assertSame( 1, $count ); 41 42 bbp_bump_topic_reply_count_hidden( $t, 3 ); 37 43 38 44 $count = bbp_get_topic_reply_count_hidden( $t ); 39 $this->assertSame( ' 1', $count );45 $this->assertSame( '4', $count ); 40 46 } 41 47
Note: See TracChangeset
for help on using the changeset viewer.