diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-09-09 16:05:01 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-09-09 16:05:01 +0200 |
commit | 7445afdb6fb98338e5691d2fe01a9d1008666281 (patch) | |
tree | 6e917533c871203494c0338f1b8810a08a7c90ee /tests | |
parent | a05ccd969c363ba77a8ba8e6b2ddec03cf9b6d1e (diff) | |
parent | 0943781ccfc91bee9f61658ee085b9fa2c5d4e2b (diff) | |
download | nextcloud-server-7445afdb6fb98338e5691d2fe01a9d1008666281.tar.gz nextcloud-server-7445afdb6fb98338e5691d2fe01a9d1008666281.zip |
Merge pull request #18925 from owncloud/change-risky-test
Rename data provider to avoid risky test warning
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 */ |