Skip to content

Commit 09a579c

Browse files
committed
MQE-1800: Allow generate:tests to continue running even if one test fails generation
1 parent 6abc4c8 commit 09a579c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Test/Util/AnnotationExtractorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ public function testTestCaseIdUniqueness()
200200

201201
// assert that no exception for validateTestCaseIdTitleUniqueness
202202
// and validation error is stored in GenerationErrorHandler
203-
$errorMessage = '/' . preg_quote("TestCaseId and Title pairs is not unique in Tests 'firstTest', 'secondTest'") . '/';
203+
$errorMessage = '/'
204+
. preg_quote("TestCaseId and Title pairs is not unique in Tests 'firstTest', 'secondTest'")
205+
. '/';
204206
TestLoggingUtil::getInstance()->validateMockLogStatmentRegex('error', $errorMessage, []);
205207
$testErrors = GenerationErrorHandler::getInstance()->getErrorsByType('test');
206208
$this->assertArrayHasKey('firstTest', $testErrors);

0 commit comments

Comments
 (0)