File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Magento/FunctionalTestingFramework/Util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -564,9 +564,9 @@ public function requiredCredentials($testObject)
564
564
private function generateClassAnnotations ($ annotationType , $ annotationName , $ testObject )
565
565
{
566
566
$ annotationToAppend = null ;
567
- $ requiredCredentialsMessage = $ this ->requiredCredentials ($ testObject );
568
- $ credMsg = "\n\n" ."This test uses the following credentials: " ."\n" ;
569
567
if (!empty ($ requiredCredentialsMessage ) && !empty ($ annotationName ['main ' ])) {
568
+ $ requiredCredentialsMessage = $ this ->requiredCredentials ($ testObject );
569
+ $ credMsg = "\n\n" ."This test uses the following credentials: " ."\n" ;
570
570
$ annotationName = ['main ' =>$ annotationName ['main ' ].', ' .$ credMsg .'' .$ requiredCredentialsMessage ,
571
571
'test_files ' => "\n" .$ annotationName ['test_files ' ], 'deprecated ' =>$ annotationName ['deprecated ' ]];
572
572
}
You can’t perform that action at this time.
0 commit comments