Changeset 11737 for trunk/tests/phpunit/testcases/members/activity.php
- Timestamp:
- 11/03/2017 07:44:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/activity.php
r9819 r11737 12 12 */ 13 13 public function test_bp_members_format_activity_action_new_member() { 14 $u = $this->factory->user->create();15 $a = $this->factory->activity->create( array(14 $u = self::factory()->user->create(); 15 $a = self::factory()->activity->create( array( 16 16 'component' => buddypress()->members->id, 17 17 'type' => 'new_member', … … 33 33 $bp = buddypress(); 34 34 35 $u1 = $this->factory->user->create();36 $u2 = $this->factory->user->create();37 $u3 = $this->factory->user->create();35 $u1 = self::factory()->user->create(); 36 $u2 = self::factory()->user->create(); 37 $u3 = self::factory()->user->create(); 38 38 39 $au1 = $this->factory->activity->create( array(39 $au1 = self::factory()->activity->create( array( 40 40 'component' => 'xprofile', 41 41 'type' => 'new_member', … … 43 43 ) ); 44 44 45 $au2 = $this->factory->activity->create( array(45 $au2 = self::factory()->activity->create( array( 46 46 'component' => 'xprofile', 47 47 'type' => 'new_member', … … 49 49 ) ); 50 50 51 $au3 = $this->factory->activity->create( array(51 $au3 = self::factory()->activity->create( array( 52 52 'component' => 'xprofile', 53 53 'type' => 'new_member',
Note: See TracChangeset
for help on using the changeset viewer.