Skip to content

Commit a3e33d9

Browse files
committed
MQE-1800: Allow generate:tests to continue running even if one test fails generation
1 parent 4234cda commit a3e33d9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Magento/FunctionalTestingFramework/Test/Util/AnnotationExtractor.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ public function validateStoryTitleUniqueness()
199199
$testArray = explode(',', $tests);
200200
foreach ($testArray as $test) {
201201
GenerationErrorHandler::getInstance()->addError(
202-
'test', trim($test, "' \t"), $message, true
202+
'test',
203+
trim($test, "' \t"),
204+
$message,
205+
true
203206
);
204207
}
205208
}
@@ -233,7 +236,10 @@ public function validateTestCaseIdTitleUniqueness()
233236
$testArray = explode(',', $tests);
234237
foreach ($testArray as $test) {
235238
GenerationErrorHandler::getInstance()->addError(
236-
'test', trim($test, "' \t"), $message, true
239+
'test',
240+
trim($test, "' \t"),
241+
$message,
242+
true
237243
);
238244
}
239245
}

0 commit comments

Comments
 (0)