[SecurityBundle] Make the FirewallConfig class final
This commit is contained in:
parent
9e2ad932e9
commit
5963627d06
@ -14,7 +14,7 @@ namespace Symfony\Bundle\SecurityBundle\Security;
|
|||||||
/**
|
/**
|
||||||
* @author Robin Chalas <robin.chalas@gmail.com>
|
* @author Robin Chalas <robin.chalas@gmail.com>
|
||||||
*/
|
*/
|
||||||
class FirewallConfig
|
final class FirewallConfig
|
||||||
{
|
{
|
||||||
private $name;
|
private $name;
|
||||||
private $requestMatcher;
|
private $requestMatcher;
|
||||||
|
@ -20,10 +20,7 @@ class FirewallContextTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
public function testGetters()
|
public function testGetters()
|
||||||
{
|
{
|
||||||
$config = $this
|
$config = new FirewallConfig('main', 'request_matcher');
|
||||||
->getMockBuilder(FirewallConfig::class)
|
|
||||||
->disableOriginalConstructor()
|
|
||||||
->getMock();
|
|
||||||
|
|
||||||
$exceptionListener = $this
|
$exceptionListener = $this
|
||||||
->getMockBuilder(ExceptionListener::class)
|
->getMockBuilder(ExceptionListener::class)
|
||||||
|
Reference in New Issue
Block a user