Skip to content

Commit c8659e9

Browse files
committed
Add dama/doctrine-test-bundle dependency
1 parent ba93574 commit c8659e9

6 files changed

Lines changed: 90 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"twig/twig": "^3.21"
5757
},
5858
"require-dev": {
59+
"dama/doctrine-test-bundle": "^8.3",
5960
"friendsofphp/php-cs-fixer": "^3.75",
6061
"phpstan/phpstan": "^2.1",
6162
"phpunit/phpunit": "^11.5",

composer.lock

Lines changed: 70 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/bundles.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
return [
44
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
5+
DAMA\DoctrineTestBundle\DAMADoctrineTestBundle::class => ['test' => true],
56
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
67
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
78
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
when@test:
2+
dama_doctrine_test:
3+
enable_static_connection: true
4+
enable_static_meta_data_cache: true
5+
enable_static_query_cache: true

phpunit.dist.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</source>
3434

3535
<extensions>
36+
<bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
3637
<bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension">
3738
<parameter name="clock-mock-namespaces" value="App" />
3839
<parameter name="dns-mock-namespaces" value="App" />

symfony.lock

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)