- Timestamp:
- 11/03/2017 07:44:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/nav/bpCoreNewNavItem.php
r11091 r11737 12 12 $bp_nav = buddypress()->bp_nav; 13 13 14 $u = $this->factory->user->create();14 $u = self::factory()->user->create(); 15 15 $old_current_user = get_current_user_id(); 16 16 $this->set_current_user( $u ); … … 52 52 $bp_nav = buddypress()->bp_nav; 53 53 54 $u = $this->factory->user->create();55 $g = $this->factory->group->create();54 $u = self::factory()->user->create(); 55 $g = self::factory()->group->create(); 56 56 $old_current_user = get_current_user_id(); 57 57 $this->set_current_user( $u ); … … 143 143 $bp_nav = buddypress()->bp_nav; 144 144 145 $u = $this->factory->user->create();146 $u2 = $this->factory->user->create();145 $u = self::factory()->user->create(); 146 $u2 = self::factory()->user->create(); 147 147 $old_current_user = get_current_user_id(); 148 148 $this->set_current_user( $u2 ); … … 178 178 $bp_nav = buddypress()->bp_nav; 179 179 180 $u = $this->factory->user->create();181 $u2 = $this->factory->user->create();180 $u = self::factory()->user->create(); 181 $u2 = self::factory()->user->create(); 182 182 $old_current_user = get_current_user_id(); 183 183 $this->set_current_user( $u2 );
Note: See TracChangeset
for help on using the changeset viewer.