Skip to content

Commit

Permalink
Extension fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PMassoels committed Jan 25, 2018
1 parent 9b816b0 commit cc6123b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ class DigipolisGentDomainator9kSockExtension extends Extension

public function load(array $configs, ContainerBuilder $container)
{
$definition = $container->getDefinition(ApiService::class);

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

$definition = $container->getDefinition(ApiService::class);

$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private function getContainerBuilderMock($apiServiceDefinition)
->getMock();

$mock
->expects($this->at(0))
->expects($this->once())
->method('getDefinition')
->with($this->equalTo(ApiService::class))
->willReturn($apiServiceDefinition);
Expand Down

0 comments on commit cc6123b

Please sign in to comment.