File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Magento/FunctionalTestingFramework/Extension Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ function () use ($cest) {
7676 // check for errors in all test hooks and attach in allure
7777 if (!empty ($ testResultObject ->errors ())) {
7878 foreach ($ testResultObject ->errors () as $ error ) {
79- if ($ error ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
79+ if ($ error ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
8080 $ this ->attachExceptionToAllure ($ error ->thrownException (), $ cest ->getTestMethod ());
8181 }
8282 }
@@ -85,7 +85,7 @@ function () use ($cest) {
8585 // check for failures in all test hooks and attach in allure
8686 if (!empty ($ testResultObject ->failures ())) {
8787 foreach ($ testResultObject ->failures () as $ failure ) {
88- if ($ failure ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
88+ if ($ failure ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
8989 $ this ->attachExceptionToAllure ($ failure ->thrownException (), $ cest ->getTestMethod ());
9090 }
9191 }
@@ -114,7 +114,7 @@ public function extractContext($trace, $class)
114114 /**
115115 * Attach stack trace of exceptions thrown in each test hook to allure.
116116 * @param \Exception $exception
117- * @param String $testMethod
117+ * @param string $testMethod
118118 * @return mixed
119119 */
120120 public function attachExceptionToAllure ($ exception , $ testMethod )
You can’t perform that action at this time.
0 commit comments