diff options
-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 |