Made some SecurityBundle tests case-insensitive to prepare for future Symfony versions

This commit is contained in:
Javier Eguiluz 2017-08-10 13:07:56 +02:00 committed by Robin Chalas
parent 334b62acd0
commit 9b7750a432

View File

@ -81,6 +81,11 @@ abstract class CompleteConfigurationTest extends TestCase
$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(
array(
'simple',