Skip to content

Conversation

@sprankhub
Copy link
Contributor

MFTF 3.10.0 changed the behaviour of \Magento\FunctionalTestingFramework\Module\MagentoWebDriver::magentoCLI: When no output is returned in the CLI, the method now returns the string "CLI did not return output.". This was introduced in magento/magento2-functional-testing-framework@fe04f75. However, a non-empty string is obviously true when casted to a bool, so that we currently return a wrong result from \MarkShust\DisableTwoFactorAuth\Test\Mftf\Helper\FillOtpOverride::checkIfTwoFactorIsEnabled. This breaks the MFTF backend login and my PR fixes this.

@sprankhub
Copy link
Contributor Author

@markshust, mind checking this? Thanks :)

@markshust
Copy link
Owner

@sprankhub thanks for this! (and for reminding me... I've been quite absent-minded on GitHub lately).

Merging in, will tag & release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants