Skip to content

Commit 637c3eb

Browse files
committed
MQE-1427: Support _CREDS in <magentoCLI> action and in Data
- Adding missing return.
1 parent 9ef7ea7 commit 637c3eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,15 +643,15 @@ public function fillSecretField($field, $value)
643643
* @param string $command
644644
* @param null $arguments
645645
* @throws TestFrameworkException
646-
* @return mixed
646+
* @return string
647647
*/
648648
public function magentoCLISecret($command, $arguments = null)
649649
{
650650
// to protect any secrets from being printed to console the values are executed only at the webdriver level as a
651651
// decrypted value
652652

653653
$decryptedCommand = CredentialStore::getInstance()->decryptAllSecretsInString($command);
654-
$this->magentoCLI($decryptedCommand, $arguments);
654+
return $this->magentoCLI($decryptedCommand, $arguments);
655655
}
656656

657657
/**

0 commit comments

Comments
 (0)