Changeset 9139 for trunk/tests/phpunit/testcases/blogs/activity.php
- Timestamp:
- 11/14/2014 02:01:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/activity.php
r8958 r9139 12 12 13 13 $b = $this->factory->blog->create(); 14 $u = $this-> create_user();14 $u = $this->factory->user->create(); 15 15 $a = $this->factory->activity->create( array( 16 16 'component' => buddypress()->blogs->id, … … 36 36 } 37 37 38 $u = $this-> create_user();38 $u = $this->factory->user->create(); 39 39 $p = $this->factory->post->create( array( 40 40 'post_author' => $u, … … 70 70 } 71 71 72 $u = $this-> create_user();72 $u = $this->factory->user->create(); 73 73 $p = $this->factory->post->create( array( 74 74 'post_author' => $u, … … 105 105 106 106 $b = $this->factory->blog->create(); 107 $u = $this-> create_user();107 $u = $this->factory->user->create(); 108 108 109 109 switch_to_blog( $b ); … … 145 145 146 146 $b = $this->factory->blog->create(); 147 $u = $this-> create_user();147 $u = $this->factory->user->create(); 148 148 149 149 switch_to_blog( $b ); … … 190 190 191 191 $b = $this->factory->blog->create(); 192 $u = $this-> create_user();192 $u = $this->factory->user->create(); 193 193 194 194 $recorded_blog = new BP_Blogs_Blog; … … 223 223 restore_current_blog(); 224 224 225 $u = $this-> create_user();225 $u = $this->factory->user->create(); 226 226 $a = $this->factory->activity->create( array( 227 227 'component' => buddypress()->blogs->id, … … 254 254 restore_current_blog(); 255 255 256 $u = $this-> create_user();256 $u = $this->factory->user->create(); 257 257 $a = $this->factory->activity->create( array( 258 258 'component' => buddypress()->blogs->id,
Note: See TracChangeset
for help on using the changeset viewer.