From 280bb0052b5dd8f97d08863d4b0c47cd9f16ab95 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Fri, 26 Nov 2010 01:16:52 +0000 Subject: [PATCH] follow r77243 and r77315 which claimed to fix, but didn't -- fix the unit test was that accidently hide the bug --- maintenance/tests/phpunit/includes/TitlePermissionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1