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 Apr 5, 2024
1 parent c6aae09 commit 1051f02
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 1051f02

Please sign in to comment.