8000 Fix tests · symfony/symfony@882a360 · GitHub
[go: up one dir, main page]

Skip to content

Commit 882a360

Browse files
committed
Fix tests
1 parent 1da8b12 commit 882a360

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

UPGRADE-3.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ HttpKernel
127127
services:
128128
# ...
129129
130-
# implicit commands registration
130+
# implicit registration of all commands in the `Command` folder
131131
```
132132

133133
After:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# to be removed once https://github.com/doctrine/DoctrineBundle/pull/684 is merged
2+
services:
3+
Doctrine\Bundle\DoctrineBundle\Command\:
4+
resource: "@DoctrineBundle/Command/*"
5+
tags: [console.command]

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AppKernel.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Bundle\SecurityBundle\Tests\Functional\app;
1313

14+
use Doctrine\ORM\Version;
1415
use Symfony\Component\Config\Loader\LoaderInterface;
1516
use Symfony\Component\Filesystem\Filesystem;
1617
use Symfony\Component\HttpKernel\Kernel;
@@ -82,6 +83,11 @@ public function getLogDir()
8283
public function registerContainerConfiguration(LoaderInterface $loader)
8384
{
8485
$loader->load($this->rootConfig);
86+
87+
// to be removed once https://github.com/doctrine/DoctrineBundle/pull/684 is merged
88+
if ('Acl' === $this->testCase && class_exists(Version::class)) {
89+
$loader->load(__DIR__.'/app/Acl/doctrine.yml');
90+
}
8591
}
8692

8793
public function serialize()

0 commit comments

Comments
 (0)
0