Skip to content

Commit ab4cceb

Browse files
authored
Merge pull request #640 from magento/MQE-1581
MQE-1581: Remove NONE debug level for next MFTF major release
2 parents 20e1c7e + d2eb58a commit ab4cceb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Magento/FunctionalTestingFramework/Config/MftfApplicationConfig.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ private function __construct(
100100

101101
$this->phase = $phase;
102102
$this->verboseEnabled = $verboseEnabled;
103+
104+
//TODO: overriding pipeline config, to be removed for MFTF 3.0.0
105+
if (strtolower($debugLevel) === 'none') {
106+
$debugLevel = self::LEVEL_DEFAULT;
107+
}
108+
103109
if (isset($debugLevel) && !in_array(strtolower($debugLevel), self::MFTF_DEBUG_LEVEL)) {
104110
throw new TestFrameworkException("{$debugLevel} is not a debug level. Use 'DEFAULT' or 'DEVELOPER'");
105111
}

0 commit comments

Comments
 (0)