Skip to content
Snippets Groups Projects
Commit fe463931 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #12348 from owncloud/rename-to-avoid-complaining-ci

Rename providers to not begin with test
parents 2cc3edb1 5f6f54e7
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment