fix: Adjust data provider name

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/51768/head
Ferdinand Thiessen 2024-09-19 19:04:10 +07:00 committed by Joas Schilling
parent 5a167fdfd8
commit 9ccb70174c
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
2 changed files with 4 additions and 4 deletions

@ -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

@ -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