Firesphere\BootstrapMFA\Tests\BootstrapMFAAuthenticatorTest
Synopsis
class BootstrapMFAAuthenticatorTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = '../fixtures/member.yml';
- protected BootstrapMFAAuthenticator $authenticator;
- // methods
- public void testValidateBackupCodeRight()
- public void testValidateBackupCodeWrong()
- public void testGetLoginHandler()
- protected void setUp()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $authenticator — Firesphere\BootstrapMFA\Authenticators\BootstrapMFAAuthenticator
- $fixture_file
Methods
protected
public
- testGetLoginHandler()
- testValidateBackupCodeRight() — Test if user codes are properly validated and expired
- testValidateBackupCodeWrong()