Changeset 9139 for trunk/tests/phpunit/testcases/xprofile/activity.php
- Timestamp:
- 11/14/2014 02:01:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/xprofile/activity.php
r8958 r9139 278 278 */ 279 279 public function test_bp_xprofile_format_activity_action_new_avatar() { 280 $u = $this-> create_user();280 $u = $this->factory->user->create(); 281 281 $a = $this->factory->activity->create( array( 282 282 'component' => 'profile', … … 300 300 buddypress()->active_components['xprofile'] = '1'; 301 301 302 $u = $this-> create_user();302 $u = $this->factory->user->create(); 303 303 $a = $this->factory->activity->create( array( 304 304 'component' => buddypress()->profile->id, … … 326 326 unset( buddypress()->active_components['xprofile'] ); 327 327 328 $u = $this-> create_user();328 $u = $this->factory->user->create(); 329 329 $a = $this->factory->activity->create( array( 330 330 'component' => buddypress()->profile->id, … … 349 349 */ 350 350 public function test_bp_xprofile_format_activity_action_updated_profile() { 351 $u = $this-> create_user();351 $u = $this->factory->user->create(); 352 352 $a = $this->factory->activity->create( array( 353 353 'component' => buddypress()->profile->id, … … 364 364 365 365 protected function setup_updated_profile_data() { 366 $this->updated_profile_data['u'] = $this-> create_user();366 $this->updated_profile_data['u'] = $this->factory->user->create(); 367 367 $this->updated_profile_data['g'] = $this->factory->xprofile_group->create(); 368 368 $this->updated_profile_data['f'] = $this->factory->xprofile_field->create( array(
Note: See TracChangeset
for help on using the changeset viewer.