Changeset 5766
- Timestamp:
- 05/13/2015 10:17:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/topics/template/counts.php
r5719 r5766 23 23 ) ); 24 24 25 $int_value = 9;25 $int_value = 3; 26 26 $formatted_value = bbp_number_format( $int_value ); 27 27 … … 34 34 ) ); 35 35 36 // @todo Investigate caching issues in bbp_get_public_child_count() 37 wp_cache_flush(); 38 36 bbp_clean_post_cache( $t ); 39 37 bbp_update_topic_reply_count( $t ); 40 38 … … 60 58 61 59 $int_topics = 1; 62 $int_replies = 9;60 $int_replies = 3; 63 61 $int_value = $int_topics + $int_replies; 64 62 $formatted_value = bbp_number_format( $int_value ); … … 79 77 ) ); 80 78 81 // @todo Investigate caching issues in bbp_get_public_child_count() 82 wp_cache_flush(); 83 79 bbp_clean_post_cache( $t ); 84 80 bbp_update_topic_reply_count( $t ); 85 81 … … 104 100 $f = $this->factory->forum->create(); 105 101 106 $int_value = 9;102 $int_value = 3; 107 103 $formatted_value = bbp_number_format( $int_value ); 108 104 … … 125 121 bbp_update_topic_reply_count_hidden( $t ); 126 122 127 bbp_spam_reply( $r[ 7] );123 bbp_spam_reply( $r[1] ); 128 124 129 125 // Output
Note: See TracChangeset
for help on using the changeset viewer.