X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Flibs%2FIPTest.php;h=9702c82c60b0693473d709eb6a1cc25d479a849c;hb=b0a52b2fca1a567eacf9424533356c6c7d841e6b;hp=a36b259300192fccd9dd17b23016f77cb87419ef;hpb=16ef3e79c4c52aa6b74563b7eadcfc9792e7a4c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/libs/IPTest.php b/tests/phpunit/includes/libs/IPTest.php index a36b259300..9702c82c60 100644 --- a/tests/phpunit/includes/libs/IPTest.php +++ b/tests/phpunit/includes/libs/IPTest.php @@ -8,7 +8,7 @@ * @todo Test methods in this call should be split into a method and a * dataprovider. */ -class IPTest extends PHPUnit_Framework_TestCase { +class IPTest extends PHPUnit\Framework\TestCase { use MediaWikiCoversValidator; @@ -16,7 +16,7 @@ class IPTest extends PHPUnit_Framework_TestCase { * @covers IP::isIPAddress * @dataProvider provideInvalidIPs */ - public function isNotIPAddress( $val, $desc ) { + public function testIsNotIPAddress( $val, $desc ) { $this->assertFalse( IP::isIPAddress( $val ), $desc ); }