Skip to content

Commit

Permalink
Use shortenedRecursiveExport() for data-providers
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jun 16, 2024
1 parent 713cf8a commit cccba66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Event/Value/Test/TestMethodBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ private static function dataFor(TestCase $testCase): TestDataCollection
$dataSetName = (int) $dataSetName;
}

$providedData = $testCase->providedData();

$testData[] = DataFromDataProvider::from(
$dataSetName,
$exporter->export($testCase->providedData()),
$exporter->shortenedRecursiveExport($providedData),
$testCase->dataSetAsStringWithData(),
);
}
Expand Down

0 comments on commit cccba66

Please sign in to comment.