From cccba6698f90c6531cf309db4a8c30d4db3d766d Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 28 Mar 2024 14:38:08 +0100 Subject: [PATCH] Use shortenedRecursiveExport() for data-providers --- src/Event/Value/Test/TestMethodBuilder.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Event/Value/Test/TestMethodBuilder.php b/src/Event/Value/Test/TestMethodBuilder.php index c744a323953..e3dd83703b8 100644 --- a/src/Event/Value/Test/TestMethodBuilder.php +++ b/src/Event/Value/Test/TestMethodBuilder.php @@ -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(), ); }