Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
do not register in test env
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Jul 2, 2019
1 parent 8939207 commit 12112a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DependencyInjection/RecalculateRatesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class RecalculateRatesExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
if ('test' === $container->getParameter('kernel.environment')) {
return;
}

$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
$loader->load('services.yaml');
}
Expand Down

0 comments on commit 12112a9

Please sign in to comment.