8000 Made some SecurityBundle tests case-insensitive to prepare for future… · symfony/symfony@9b7750a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b7750a

Browse files
javiereguiluzRobin Chalas
authored and
Robin Chalas
committed
Made some SecurityBundle tests case-insensitive to prepare for future Symfony versions
1 parent 334b62a commit 9b7750a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ public function testFirewalls()
8181
$configs[] = array_values($configDef->getArguments());
8282
}
8383

84+
// the IDs of the services are case sensitive or insensitive depending on
85+
// the Symfony version. Transform them to lowercase to simplify tests.
86+
$configs[0][2] = strtolower($configs[0][2]);
87+
$configs[2][2] = strtolower($configs[2][2]);
88+
8489
$this->assertEquals(array(
8590
array(
8691
'simple',

0 commit comments

Comments
 (0)
0