Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/03/2015 01:19:51 AM (9 years ago)
Author:
netweb
Message:

Tests: Remove copy pasta parameters to fix topic count tests

  • Manually flush the cache, our setup/teardown needs more work here.

Props thebrandonallen. Fixes #2796

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/topics/functions/counts.php

    r5716 r5719  
    6767        ) );
    6868
     69        // @todo Investigate caching issues in bbp_get_public_child_count()
     70        wp_cache_flush();
     71
    6972        bbp_update_topic_reply_count( $t );
     73
     74        // @todo Investigate caching issues in bbp_get_public_child_count()
     75        wp_cache_flush();
    7076
    7177        $count = bbp_get_topic_reply_count( $t );
Note: See TracChangeset for help on using the changeset viewer.