Index: trunk/phase3/maintenance/tests/phpunit/includes/TitlePermissionTest.php |
— | — | @@ -610,9 +610,9 @@ |
611 | 611 | # $short |
612 | 612 | $this->assertEquals( array( array( 'confirmedittext' ) ), |
613 | 613 | self::$title->getUserPermissionsErrors( 'move-target', self::$user ) ); |
| 614 | + $wgEmailConfirmToEdit = false; |
614 | 615 | $this->assertEquals( true, self::$title->userCan( 'move-target' ) ); |
615 | 616 | |
616 | | - $wgEmailConfirmToEdit = false; |
617 | 617 | # $wgEmailConfirmToEdit && !$user->isEmailConfirmed() && $action != 'createaccount' |
618 | 618 | $this->assertEquals( array( ), |
619 | 619 | self::$title->getUserPermissionsErrors( 'move-target', |