Made some SecurityBundle tests case-insensitive to prepare for future Symfony versions
This commit is contained in:
parent
334b62acd0
commit
9b7750a432
@ -81,6 +81,11 @@ abstract class CompleteConfigurationTest extends TestCase
|
|||||||
$configs[] = array_values($configDef->getArguments());
|
$configs[] = array_values($configDef->getArguments());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the IDs of the services are case sensitive or insensitive depending on
|
||||||
|
// the Symfony version. Transform them to lowercase to simplify tests.
|
||||||
|
$configs[0][2] = strtolower($configs[0][2]);
|
||||||
|
$configs[2][2] = strtolower($configs[2][2]);
|
||||||
|
|
||||||
$this->assertEquals(array(
|
$this->assertEquals(array(
|
||||||
array(
|
array(
|
||||||
'simple',
|
'simple',
|
||||||
|
Reference in New Issue
Block a user