From: Mark A. Hershberger Date: Fri, 26 Nov 2010 01:16:52 +0000 (+0000) Subject: follow r77243 and r77315 which claimed to fix, but didn't -- fix the unit test was... X-Git-Tag: 1.31.0-rc.0~33727 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=280bb0052b5dd8f97d08863d4b0c47cd9f16ab95;p=lhc%2Fweb%2Fwiklou.git follow r77243 and r77315 which claimed to fix, but didn't -- fix the unit test was that accidently hide the bug --- diff --git a/maintenance/tests/phpunit/includes/TitlePermissionTest.php b/maintenance/tests/phpunit/includes/TitlePermissionTest.php index c0a034686d..81b3f6efae 100644 --- a/maintenance/tests/phpunit/includes/TitlePermissionTest.php +++ b/maintenance/tests/phpunit/includes/TitlePermissionTest.php @@ -632,7 +632,7 @@ class TitlePermissionTest extends PHPUnit_Framework_TestCase { self::$title->getUserPermissionsErrors( 'move-target', self::$user ) ); - $this->assertEquals( true, + $this->assertEquals( false, self::$title->userCan( 'move-target', self::$user ) ); global $wgLocalTZoffset;