Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
5f6f54e7
Commit
5f6f54e7
authored
Nov 21, 2014
by
Lukas Reschke
Browse files
Rename providers to not begin with test
Fixes
https://github.com/owncloud/core/issues/12347
parent
f8421958
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/lib/httphelper.php
View file @
5f6f54e7
...
...
@@ -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
));
...
...
tests/lib/updater.php
View file @
5f6f54e7
...
...
@@ -10,7 +10,7 @@ namespace OC;
class
UpdaterTest
extends
\
Test\TestCase
{
public
function
testV
ersionCompatbility
()
{
public
function
v
ersionCompat
i
bility
TestData
()
{
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
testV
ersionCompatbility
* @dataProvider
v
ersionCompat
i
bility
TestData
*/
function
testIsUpgradePossible
(
$oldVersion
,
$newVersion
,
$result
)
{
$updater
=
new
Updater
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment