Skip to content

Commit 4983fd5

Browse files
fixup! feature #45901 [SecurityBundle] Allow specifying attributes for RequestMatcher
1 parent 4556da7 commit 4983fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public function testRegisterAccessControlWithSpecifiedAttributes()
360360
$this->assertArrayHasKey(4, $requestMatcherConstructorArguments);
361361
$attributes = $requestMatcherConstructorArguments[4];
362362
$this->assertArrayHasKey('_route', $attributes);
363-
$this->assertEquals('foo_route', $attributes['_route']);
363+
$this->assertSame('foo_route', $attributes['_route']);
364364
}
365365

366366
public function testRegisterAccessControlWithSpecifiedRoute()
@@ -396,7 +396,7 @@ public function testRegisterAccessControlWithSpecifiedRoute()
396396
$this->assertArrayHasKey(4, $requestMatcherConstructorArguments);
397397
$attributes = $requestMatcherConstructorArguments[4];
398398
$this->assertArrayHasKey('_route', $attributes);
399-
$this->assertEquals('foo_route', $attributes['_route']);
399+
$this->assertSame('foo_route', $attributes['_route']);
400400
}
401401

402402
public function testRegisterAccessControlWithSpecifiedAttributesThrowsException()

0 commit comments

Comments
 (0)