mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
test: add some KernelTestCase
This commit is contained in:
@@ -19,4 +19,6 @@ return [
|
||||
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
|
||||
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||
SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true],
|
||||
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
||||
Zenstruck\Foundry\ZenstruckFoundryBundle::class => ['dev' => true, 'test' => true],
|
||||
];
|
||||
|
||||
16
config/packages/zenstruck_foundry.yaml
Normal file
16
config/packages/zenstruck_foundry.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
when@dev: &dev
|
||||
# See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration
|
||||
zenstruck_foundry:
|
||||
persistence:
|
||||
# Flush only once per call of `PersistentObjectFactory::create()`
|
||||
flush_once: true
|
||||
|
||||
# If you use the `make:factory --test` command, you may need to uncomment the following.
|
||||
# See https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#generate
|
||||
#services:
|
||||
# App\Tests\Factory\:
|
||||
# resource: '%kernel.project_dir%/tests/Factory/'
|
||||
# autowire: true
|
||||
# autoconfigure: true
|
||||
|
||||
when@test: *dev
|
||||
Reference in New Issue
Block a user