From 2bedfa3f1ed6576d99ffb55ea86d20c29a93f445 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 16 Mar 2018 17:54:14 +0100 Subject: [PATCH] Make IPTest::isNotIPAddress a test function Only functions starting with test* are running by phpunit Change-Id: I91061fb3d5132c61e01e368fab0df0e511b1920d --- tests/phpunit/includes/libs/IPTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/libs/IPTest.php b/tests/phpunit/includes/libs/IPTest.php index 6a751816a6..9702c82c60 100644 --- a/tests/phpunit/includes/libs/IPTest.php +++ b/tests/phpunit/includes/libs/IPTest.php @@ -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 ); } -- 2.20.1