We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93050fb commit 3a6483dCopy full SHA for 3a6483d
tests/TestCase.php
@@ -166,15 +166,14 @@ protected function createOptionDataProvider(array $options): array
166
{
167
$data = [];
168
169
- // Loop through each option and get possible values
170
foreach ($options as $option => $values) {
171
- // Create an option array with a named data provider for each value
172
foreach ($values as $key => $value) {
+ $dataKey = $option . '_' . $key;
173
if (is_int($key)) {
174
- $key = get_debug_type($value);
+ $dataKey .= '_' . get_debug_type($value);
175
}
176
177
- $data[$option . '_' . $key] = [[$option => $value]];
+ $data[$dataKey] = [[$option => $value]];
178
179
180
0 commit comments