magento-hackathon/Magento-Two-factor-Authentication

View on GitHub
src/app/code/community/MageHackDay/TwoFactorAuth/Test/Controller/InterstitialControllerTest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

class MageHackDay_TwoFactorAuth_Test_Controller_InterstitialControllerTest extends EcomDev_PHPUnit_Test_Case_Controller
{

  /**
   * @test
   * @return void
   */
  public function testDoesRedirectWorkAction()
  {
    $feActive = Mage::getStoreConfig('admin/security/frontend_active');

    if (empty($feActive))
    {
      return;
    }

    //TODO: test redirect after login
  }

}