Rename data provider to avoid risky test warning
``` 06:49:56 There was 1 risky test: 06:49:56 06:49:56 1) OC\AppFramework\Http\JSONResponseTest::testRenderProvider 06:49:56 This test did not perform any assertions ```
This commit is contained in:
parent
c4c9c5ffad
commit
0943781ccf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue