vendor/symfony/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticationCommencingTest.php
equal
deleted
inserted
replaced
|
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 } |