- Timestamp:
- 05/22/2015 03:53:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/forums/functions/counts.php
r5715 r5777 112 112 ) ); 113 113 114 bbp_update_forum_subforum_count( $f1 ); 114 bbp_update_forum_topic_count( $f1 ); 115 bbp_update_forum_topic_count( $f2 ); 116 bbp_update_forum_topic_count( $f3 ); 115 117 116 118 $count = bbp_get_forum_topic_count( $f1 ); … … 128 130 ) ); 129 131 132 bbp_update_forum_topic_count( $f1 ); 130 133 bbp_update_forum_topic_count( $f2 ); 131 132 $count = bbp_get_forum_topic_count( $f1 ); 133 $this->assertSame( '3', $count ); 134 bbp_update_forum_topic_count( $f3 ); 135 136 $count = bbp_get_forum_topic_count( $f1 ); 137 $this->assertSame( '7', $count ); 134 138 135 139 $count = bbp_get_forum_topic_count( $f2 ); … … 144 148 ) ); 145 149 150 bbp_update_forum_topic_count( $f1 ); 151 bbp_update_forum_topic_count( $f2 ); 146 152 bbp_update_forum_topic_count( $f3 ); 147 153 148 154 $count = bbp_get_forum_topic_count( $f1 ); 149 $this->assertSame( ' 3', $count );155 $this->assertSame( '12', $count ); 150 156 151 157 $count = bbp_get_forum_topic_count( $f2 );
Note: See TracChangeset
for help on using the changeset viewer.