diff --git a/tests/lib/httphelper.php b/tests/lib/httphelper.php index 34dee35fe0295db1bcb5357251f14a8e21dcb4a5..eb58508f1583b33ed240011347d0f0a3557aaad5 100644 --- a/tests/lib/httphelper.php +++ b/tests/lib/httphelper.php @@ -24,7 +24,7 @@ class TestHTTPHelper extends \Test\TestCase { ->getMock(); } - public function testIsHTTPProvider() { + public function isHttpTestData() { return array( array('http://wwww.owncloud.org/enterprise/', true), array('https://wwww.owncloud.org/enterprise/', true), @@ -81,7 +81,7 @@ class TestHTTPHelper extends \Test\TestCase { } /** - * @dataProvider testIsHTTPProvider + * @dataProvider isHttpTestData */ public function testIsHTTP($url, $expected) { $this->assertSame($expected, $this->httpHelperMock->isHTTPURL($url)); diff --git a/tests/lib/updater.php b/tests/lib/updater.php index cc82450cfb6125beec240e5f0681c81dbc8309d7..155dccf78a79f2ca4c81d6ce70726b1241ca1449 100644 --- a/tests/lib/updater.php +++ b/tests/lib/updater.php @@ -10,7 +10,7 @@ namespace OC; class UpdaterTest extends \Test\TestCase { - public function testVersionCompatbility() { + public function versionCompatibilityTestData() { return array( array('1.0.0.0', '2.2.0', true), array('1.1.1.1', '2.0.0', true), @@ -24,7 +24,7 @@ class UpdaterTest extends \Test\TestCase { } /** - * @dataProvider testVersionCompatbility + * @dataProvider versionCompatibilityTestData */ function testIsUpgradePossible($oldVersion, $newVersion, $result) { $updater = new Updater();