vendor/symfony/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticationCommencingTest.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     1 <?php
       
     2 
       
     3 namespace Symfony\Bundle\SecurityBundle\Tests\Functional;
       
     4 
       
     5 class AuthenticationCommencingTest extends WebTestCase
       
     6 {
       
     7     public function testAuthenticationIsCommencingIfAccessDeniedExceptionIsWrapped()
       
     8     {
       
     9         $client = $this->createClient(array('test_case' => 'StandardFormLogin', 'root_config' => 'config.yml'));
       
    10         $client->insulate();
       
    11 
       
    12         $client->request('GET', '/secure-but-not-covered-by-access-control');
       
    13         $this->assertRedirect($client->getResponse(), '/login');
       
    14     }
       
    15 }