diff --git a/DependencyInjection/CompilerPass/CommunityManagerCompilerPass.php b/DependencyInjection/CompilerPass/CommunityManagerCompilerPass.php index 6f337ab0..14b7003b 100644 --- a/DependencyInjection/CompilerPass/CommunityManagerCompilerPass.php +++ b/DependencyInjection/CompilerPass/CommunityManagerCompilerPass.php @@ -60,6 +60,9 @@ private function updateWebspaceConfig($webspaceKey, array $webspaceConfig) $webspaceConfig[Configuration::FIREWALL] = $webspaceKey; } + // TODO currently symfony normalize the security firewalls key which will replace "-" with "_". + $webspaceConfig[Configuration::FIREWALL] = str_replace('-', '_', $webspaceConfig[Configuration::FIREWALL]); + // Set role by webspace key if (null === $webspaceConfig[Configuration::ROLE]) { $webspaceConfig[Configuration::ROLE] = ucfirst($webspaceKey) . 'User'; diff --git a/Tests/travis.php.ini b/Tests/travis.php.ini index 318faae7..606bfe4f 100644 --- a/Tests/travis.php.ini +++ b/Tests/travis.php.ini @@ -1,3 +1,3 @@ -memory_limit = 2048M +memory_limit = 4096M xdebug.max_nesting_level = 2048