From 9ccb70174c139fe8b30f960edc0604f727c5e038 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 19 Sep 2024 19:04:10 +0200 Subject: [PATCH] fix: Adjust data provider name Signed-off-by: Ferdinand Thiessen --- tests/Core/Command/Config/App/SetConfigTest.php | 4 ++-- 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