Skip to content

Commit 27bd6b3

Browse files
committed
MQE-1541: Add option to generate:tests for XSD validation on 'merged files'
fixed static-check errors
1 parent 489ca5e commit 27bd6b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Config/MftfApplicationConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class MftfApplicationConfig
6363
* @param boolean $forceGenerate
6464
* @param string $phase
6565
* @param boolean $verboseEnabled
66-
* @param string $mode
66+
* @param string $mode
6767
* @throws TestFrameworkException
6868
*/
6969
private function __construct(

src/Magento/FunctionalTestingFramework/Config/Reader/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ protected function validateSchema($configMerger, $filename = null)
235235
$error = str_replace(PHP_EOL, "", $error);
236236
LoggingUtil::getInstance()->getLogger(Filesystem::class)->criticalFailure(
237237
"Schema validation error ",
238-
($filename ? [ "file"=> $filename, "error" => $error]: ["schema" => $this->schemaFile, "error" => $error])
238+
($filename ? [ "file"=> $filename, "error" => $error]: ["error" => $error])
239239
);
240240
}
241241
throw new \Exception("Schema validation errors found in xml file(s)" . $filename);

0 commit comments

Comments
 (0)