Skip to content

Commit d74f54d

Browse files
committed
MTA-1276: Wrong tests number is displayed for functional tests on Bamboo
- Fixed variation name in functional tests
1 parent 66b41e3 commit d74f54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento/Mtf/TestRunner/Process/TestResult.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time)
106106
public function addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, $time)
107107
{
108108
$variation = null;
109-
if ($test instanceof \Magento\Mtf\TestCase\Functional) {
109+
if ($test instanceof Injectable) {
110110
$variation = $test->getVariationName();
111111
}
112112

0 commit comments

Comments
 (0)