Skip to content

Commit

Permalink
Adding a hack to get the funtional tests to play nice with multiple S…
Browse files Browse the repository at this point in the history
…ymfony versions
  • Loading branch information
weaverryan committed Jan 2, 2017
1 parent 8b17a51 commit 42dade4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/app/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function registerContainerConfiguration(LoaderInterface $loader)
'resource' => __DIR__ . '/routing.yml',
],
// turn this off - otherwise we need doctrine/annotation
'annotations' => false,
// the change that required this was in Symfony 3.2.0
'annotations' => Kernel::VERSION_ID >= 30200 ? false : [],
]);

$container->loadFromExtension('knpu_oauth2_client', [
Expand Down

0 comments on commit 42dade4

Please sign in to comment.