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)
564564 private function generateClassAnnotations ($ annotationType , $ annotationName , $ testObject )
565565 {
566566 $ annotationToAppend = null ;
567- $ requiredCredentialsMessage = $ this ->requiredCredentials ($ testObject );
568- $ credMsg = "\n\n" ."This test uses the following credentials: " ."\n" ;
569567 if (!empty ($ requiredCredentialsMessage ) && !empty ($ annotationName ['main ' ])) {
568+ $ requiredCredentialsMessage = $ this ->requiredCredentials ($ testObject );
569+ $ credMsg = "\n\n" ."This test uses the following credentials: " ."\n" ;
570570 $ annotationName = ['main ' =>$ annotationName ['main ' ].', ' .$ credMsg .'' .$ requiredCredentialsMessage ,
571571 'test_files ' => "\n" .$ annotationName ['test_files ' ], 'deprecated ' =>$ annotationName ['deprecated ' ]];
572572 }
You can’t perform that action at this time.
0 commit comments