aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-19 19:04:10 +0200
committerJoas Schilling <coding@schilljs.com>2025-03-27 23:24:48 +0100
commit9ccb70174c139fe8b30f960edc0604f727c5e038 (patch)
treefd47366f48eaa44a4fd9b5bd0577a23978aff064
parent5a167fdfd84c3009f43d5d20ac4f1703e5db7a52 (diff)
downloadnextcloud-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.php4
-rw-r--r--tests/Core/Command/Config/System/SetConfigTest.php4
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