diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-19 19:04:10 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2025-03-27 23:24:48 +0100 |
commit | 9ccb70174c139fe8b30f960edc0604f727c5e038 (patch) | |
tree | fd47366f48eaa44a4fd9b5bd0577a23978aff064 | |
parent | 5a167fdfd84c3009f43d5d20ac4f1703e5db7a52 (diff) | |
download | nextcloud-server-9ccb70174c139fe8b30f960edc0604f727c5e038.tar.gz nextcloud-server-9ccb70174c139fe8b30f960edc0604f727c5e038.zip |
fix: Adjust data provider name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | tests/Core/Command/Config/App/SetConfigTest.php | 4 | ||||
-rw-r--r-- | tests/Core/Command/Config/System/SetConfigTest.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/Core/Command/Config/App/SetConfigTest.php b/tests/Core/Command/Config/App/SetConfigTest.php index 1d599bf3234..ffb7e424a0a 100644 --- a/tests/Core/Command/Config/App/SetConfigTest.php +++ b/tests/Core/Command/Config/App/SetConfigTest.php @@ -41,7 +41,7 @@ class SetConfigTest extends TestCase { } - public function setData() { + public static function dataSet() { return [ [ 'name', @@ -63,7 +63,7 @@ class SetConfigTest extends TestCase { } /** - * @dataProvider setData + * @dataProvider dataSet * * @param string $configName * @param mixed $newValue diff --git a/tests/Core/Command/Config/System/SetConfigTest.php b/tests/Core/Command/Config/System/SetConfigTest.php index 2905af5c3d7..6ab624b7918 100644 --- a/tests/Core/Command/Config/System/SetConfigTest.php +++ b/tests/Core/Command/Config/System/SetConfigTest.php @@ -39,7 +39,7 @@ class SetConfigTest extends TestCase { } - public function setData() { + public static function dataTest() { return [ [['name'], 'newvalue', null, 'newvalue'], [['a', 'b', 'c'], 'foobar', null, ['b' => ['c' => 'foobar']]], @@ -48,7 +48,7 @@ class SetConfigTest extends TestCase { } /** - * @dataProvider setData + * @dataProvider dataTest * * @param array $configNames * @param string $newValue |