Changeset 11737 for trunk/tests/phpunit/testcases/core/avatars.php
- Timestamp:
- 11/03/2017 07:44:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/avatars.php
r11256 r11737 26 26 } 27 27 28 $u = $this->factory->user->create();28 $u = self::factory()->user->create(); 29 29 30 30 // get BP root blog's upload directory data … … 32 32 33 33 // create new subsite 34 $blog_id = $this->factory->blog->create( array(34 $blog_id = self::factory()->blog->create( array( 35 35 'user_id' => $u, 36 36 'title' => 'Test Title', … … 54 54 $this->clean_existing_avatars(); 55 55 56 $u = $this->factory->user->create();56 $u = self::factory()->user->create(); 57 57 $this->assertFalse( bp_get_user_has_avatar( $u ) ); 58 58 } … … 62 62 */ 63 63 public function test_bp_get_user_has_avatar_has_avatar_uploaded() { 64 $u = $this->factory->user->create();64 $u = self::factory()->user->create(); 65 65 66 66 // Fake it … … 176 176 */ 177 177 public function test_bp_core_fetch_avatar_class_attribute() { 178 $u = $this->factory->user->create();178 $u = self::factory()->user->create(); 179 179 180 180 $hw = 100;
Note: See TracChangeset
for help on using the changeset viewer.