Changeset 11737 for trunk/tests/phpunit/testcases/routing/groups.php
- Timestamp:
- 11/03/2017 07:44:10 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/routing/groups.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/routing/groups.php
r11559 r11737 12 12 buddypress()->members->types = array(); 13 13 $this->old_current_user = get_current_user_id(); 14 $this->set_current_user( $this->factory->user->create( array( 'role' => 'subscriber' ) ) );14 $this->set_current_user( self::factory()->user->create( array( 'role' => 'subscriber' ) ) ); 15 15 } 16 16 … … 69 69 */ 70 70 public function test_group_previous_slug_current_slug_should_resolve() { 71 $g1 = $this->factory->group->create( array(71 $g1 = self::factory()->group->create( array( 72 72 'slug' => 'george', 73 73 ) ); … … 86 86 */ 87 87 public function test_group_previous_slug_should_resolve() { 88 $g1 = $this->factory->group->create( array(88 $g1 = self::factory()->group->create( array( 89 89 'slug' => 'george', 90 90 ) ); … … 104 104 */ 105 105 public function test_group_previous_slug_most_recent_takes_precedence() { 106 $g1 = $this->factory->group->create( array(106 $g1 = self::factory()->group->create( array( 107 107 'slug' => 'george', 108 108 ) ); … … 112 112 'notify_members' => false, 113 113 ) ); 114 $g2 = $this->factory->group->create( array(114 $g2 = self::factory()->group->create( array( 115 115 'slug' => 'george', 116 116 ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)