File tree 1 file changed +3
-3
lines changed
src/Magento/FunctionalTestingFramework/Extension
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ function () use ($cest) {
76
76
// check for errors in all test hooks and attach in allure
77
77
if (!empty ($ testResultObject ->errors ())) {
78
78
foreach ($ testResultObject ->errors () as $ error ) {
79
- if ($ error ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
79
+ if ($ error ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
80
80
$ this ->attachExceptionToAllure ($ error ->thrownException (), $ cest ->getTestMethod ());
81
81
}
82
82
}
@@ -85,7 +85,7 @@ function () use ($cest) {
85
85
// check for failures in all test hooks and attach in allure
86
86
if (!empty ($ testResultObject ->failures ())) {
87
87
foreach ($ testResultObject ->failures () as $ failure ) {
88
- if ($ failure ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
88
+ if ($ failure ->failedTest ()->getTestMethod () == $ cest ->getTestMethod ()) {
89
89
$ this ->attachExceptionToAllure ($ failure ->thrownException (), $ cest ->getTestMethod ());
90
90
}
91
91
}
@@ -114,7 +114,7 @@ public function extractContext($trace, $class)
114
114
/**
115
115
* Attach stack trace of exceptions thrown in each test hook to allure.
116
116
* @param \Exception $exception
117
- * @param String $testMethod
117
+ * @param string $testMethod
118
118
* @return mixed
119
119
*/
120
120
public function attachExceptionToAllure ($ exception , $ testMethod )
You can’t perform that action at this time.
0 commit comments