You are here

function tfa_test_fallback in Two-factor Authentication (TFA) 7.2

Create test fallback object.

Parameters

array $context: TFA context.

Return value

TfaTestFallback Created TfaTestFallback object.

2 string references to 'tfa_test_fallback'
TfaTestCase::testAlter in tests/tfa.test
Test tfa_context_alter.
TfaTestCase::testAuthentication in tests/tfa.test
Test authentication.

File

tests/tfa_test.module, line 116
A mock module for testing TFA.

Code

function tfa_test_fallback(array $context) {
  return new TfaTestFallback($context);
}