diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-09-09 12:52:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-09-09 12:52:54 +0200 |
commit | 0943781ccfc91bee9f61658ee085b9fa2c5d4e2b (patch) | |
tree | 601b2b530d878bb674a6a16d4c4e779dd071737c /tests | |
parent | c4c9c5ffad9a67c6f0b19a567ac99aa6e97840de (diff) | |
download | nextcloud-server-0943781ccfc91bee9f61658ee085b9fa2c5d4e2b.tar.gz nextcloud-server-0943781ccfc91bee9f61658ee085b9fa2c5d4e2b.zip |
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
```
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appframework/http/JSONResponseTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/appframework/http/JSONResponseTest.php b/tests/lib/appframework/http/JSONResponseTest.php index 253c523934b..a98f5fc894a 100644 --- a/tests/lib/appframework/http/JSONResponseTest.php +++ b/tests/lib/appframework/http/JSONResponseTest.php @@ -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 */ |