Index: trunk/phase3/maintenance/tests/phpunit/includes/UserIsValidEmailAddrTest.php |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | |
4 | 4 | class UserIsValidEmailAddrTest extends PHPUnit_Framework_TestCase { |
5 | 5 | |
6 | | - private function testEmail( $addr, $expected = true, $msg = '') { |
| 6 | + private function checkEmail( $addr, $expected = true, $msg = '') { |
7 | 7 | $this->assertEquals( |
8 | 8 | $expected, |
9 | 9 | User::isValidEmailAddr( $addr ), |
— | — | @@ -10,10 +10,10 @@ |
11 | 11 | ); |
12 | 12 | } |
13 | 13 | private function valid( $addr, $msg = '' ) { |
14 | | - $this->testEmail( $addr, true, $msg ); |
| 14 | + $this->checkEmail( $addr, true, $msg ); |
15 | 15 | } |
16 | 16 | private function invalid( $addr, $msg = '' ) { |
17 | | - $this->testEmail( $addr, false, $msg ); |
| 17 | + $this->checkEmail( $addr, false, $msg ); |
18 | 18 | } |
19 | 19 | |
20 | 20 | function testEmailWellKnownUserAtHostDotTldAreValid() { |