Follow up r75682 : fix private function naming.
authorAntoine Musso <hashar@users.mediawiki.org>
Fri, 29 Oct 2010 22:42:37 +0000 (22:42 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Fri, 29 Oct 2010 22:42:37 +0000 (22:42 +0000)
Fix cruise control build 2010-10-29T22:18:27

maintenance/tests/phpunit/includes/UserIsValidEmailAddrTest.php

index 4fdf142..391857e 100644 (file)
@@ -2,7 +2,7 @@
 
 class UserIsValidEmailAddrTest extends PHPUnit_Framework_TestCase {
 
-       private function testEmail( $addr, $expected = true, $msg = '') {
+       private function checkEmail( $addr, $expected = true, $msg = '') {
                $this->assertEquals(
                        $expected,
                        User::isValidEmailAddr( $addr ),
@@ -10,10 +10,10 @@ class UserIsValidEmailAddrTest extends PHPUnit_Framework_TestCase {
                );
        }
        private function valid( $addr, $msg = '' ) {
-               $this->testEmail( $addr, true, $msg );
+               $this->checkEmail( $addr, true, $msg );
        }
        private function invalid( $addr, $msg = '' ) {
-               $this->testEmail( $addr, false, $msg );
+               $this->checkEmail( $addr, false, $msg );
        }
 
        function testEmailWellKnownUserAtHostDotTldAreValid() {