Skip to content

Commit

Permalink
Merge d57857f into 957a621
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf committed Jul 26, 2019
2 parents 957a621 + d57857f commit eafe63d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion DependencyInjection/GraphqliteCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ public function process(ContainerBuilder $container)
$container->removeDefinition(AggregateControllerQueryProviderFactory::class);
}


foreach ($container->getDefinitions() as $id => $definition) {
if ($definition->isAbstract() || $definition->getClass() === null) {
continue;
Expand Down
8 changes: 2 additions & 6 deletions Tests/GraphqliteTestingKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,11 @@ public function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
);

if ($this->enableLogin) {
$graphqliteConf['security'] = [
'enable_login' => $this->enableLogin,
];
$graphqliteConf['security']['enable_login'] = $this->enableLogin;
}

if ($this->enableMe) {
$graphqliteConf['security'] = [
'enable_me' => $this->enableMe,
];
$graphqliteConf['security']['enable_me'] = $this->enableMe;
}

$container->loadFromExtension('graphqlite', $graphqliteConf);
Expand Down

0 comments on commit eafe63d

Please sign in to comment.