Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Adjust data provider name
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux authored and nickvergessen committed Mar 27, 2025
commit 9ccb70174c139fe8b30f960edc0604f727c5e038
4 changes: 2 additions & 2 deletions tests/Core/Command/Config/App/SetConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function setUp(): void {
}


public function setData() {
public static function dataSet() {
return [
[
'name',
Expand All @@ -63,7 +63,7 @@ public function setData() {
}

/**
* @dataProvider setData
* @dataProvider dataSet
*
* @param string $configName
* @param mixed $newValue
Expand Down
4 changes: 2 additions & 2 deletions tests/Core/Command/Config/System/SetConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function setUp(): void {
}


public function setData() {
public static function dataTest() {
return [
[['name'], 'newvalue', null, 'newvalue'],
[['a', 'b', 'c'], 'foobar', null, ['b' => ['c' => 'foobar']]],
Expand All @@ -48,7 +48,7 @@ public function setData() {
}

/**
* @dataProvider setData
* @dataProvider dataTest
*
* @param array $configNames
* @param string $newValue
Expand Down
Loading