diff --git a/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php b/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php index 46d5adcb3..5a6cf1bd3 100644 --- a/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php @@ -45,7 +45,7 @@ final class AccompanyingPeriodConfidentialTest extends WebTestCase public function dataGenerateRandomAccompanyingCourse() { // Disabling this dataprovider to avoid having errors while running the test. - yield from []; + return yield from []; $maxGenerated = 3; $maxResults = $maxGenerated * 8;