summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-21 10:48:05 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-21 10:54:41 +0100
commit5f6f54e785a76b27ff8c3514a45c34d633f4cc65 (patch)
tree5fc31bb28a9f62f510af70572dadfdd72e91f95d /tests
parentf8421958b3d06379c9dbfec49a16cf072dff7591 (diff)
downloadnextcloud-server-5f6f54e785a76b27ff8c3514a45c34d633f4cc65.tar.gz
nextcloud-server-5f6f54e785a76b27ff8c3514a45c34d633f4cc65.zip
Rename providers to not begin with test
Fixes https://github.com/owncloud/core/issues/12347
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/httphelper.php4
-rw-r--r--tests/lib/updater.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/httphelper.php b/tests/lib/httphelper.php
index 34dee35fe02..eb58508f158 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 cc82450cfb6..155dccf78a7 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();