Commit 0943781c authored by Lukas Reschke's avatar Lukas Reschke
Browse files

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
```
parent c4c9c5ff
......@@ -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
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment