Merge pull request #18925 from owncloud/change-risky-test

Rename data provider to avoid risky test warning
This commit is contained in:
Morris Jobke 2015-09-09 16:05:01 +02:00
commit 7445afdb6f

View file

@ -69,7 +69,7 @@ class JSONResponseTest extends \Test\TestCase {
/**
* @return array
*/
public function testRenderProvider() {
public function renderDataProvider() {
return [
[
['test' => 'hi'], '{"test":"hi"}',
@ -81,7 +81,7 @@ class JSONResponseTest extends \Test\TestCase {
}
/**
* @dataProvider testRenderProvider
* @dataProvider renderDataProvider
* @param array $input
* @param string $expected
*/