markshust / magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.
MIT License
194 stars 39 forks source link

MFTF Test override does not work, if twofactorauth/general/enable is not set at all #11

Open norgeindian opened 2 years ago

norgeindian commented 2 years ago

If you run MFTF tests on a system, where the named config setting is not set at all, the override will not work. To reproduce that, try to log in as an admin, with the settings I mentioned. This will fail directly.

markshust commented 2 years ago

I'll gladly take in a PR which adds unit tests to correct this issue.