Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/03/2017 07:44:10 PM (4 years ago)
Author:
boonebgorges
Message:

Use static factory method throughout PHPUnit tests.

See #7620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/cache.php

    r9819 r11737  
    1111    public function test_bp_update_meta_cache_with_cache_misses() {
    1212        // Use activity just because
    13         $a1 = $this->factory->activity->create();
     13        $a1 = self::factory()->activity->create();
    1414
    1515        // Confirm that all activitymeta is deleted
Note: See TracChangeset for help on using the changeset viewer.