From a9760b323fc5020655f10f9d9faae036d68e39bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 17 Apr 2024 21:40:29 +0200 Subject: [PATCH] Add ChillTicketBundle to configuration and autoload-dev The commit includes the ChillTicketBundle in the bundles configuration file for testing. Additionally, the autoload-dev directive in the composer.json file was updated to include the "App" namespace for testing purposes. This ensures that the tests related to the "App" namespace are correctly autoloaded. --- composer.json | 1 + tests/app/config/bundles.php | 2 +- tests/app/config/packages/doctrine_migrations.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1dbb8fc27..07e65dbba 100644 --- a/composer.json +++ b/composer.json @@ -126,6 +126,7 @@ }, "autoload-dev": { "psr-4": { + "App\\": "tests", "Chill\\DocGeneratorBundle\\Tests\\": "src/Bundle/ChillDocGeneratorBundle/tests", "Chill\\TicketBundle\\Tests\\": "src/Bundle/ChillTicketBundle/tests", "Chill\\WopiBundle\\Tests\\": "src/Bundle/ChillDocGeneratorBundle/tests", diff --git a/tests/app/config/bundles.php b/tests/app/config/bundles.php index e4520fa51..b20185210 100644 --- a/tests/app/config/bundles.php +++ b/tests/app/config/bundles.php @@ -44,5 +44,5 @@ return [ Chill\WopiBundle\ChillWopiBundle::class => ['all' => true], \Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true], Chill\EventBundle\ChillEventBundle::class => ['all' => true], - + Chill\TicketBundle\ChillTicketBundle::class => ['all' => true], ]; diff --git a/tests/app/config/packages/doctrine_migrations.yaml b/tests/app/config/packages/doctrine_migrations.yaml index a559780d3..a2afd0f01 100644 --- a/tests/app/config/packages/doctrine_migrations.yaml +++ b/tests/app/config/packages/doctrine_migrations.yaml @@ -14,6 +14,7 @@ doctrine_migrations: 'Chill\Migrations\DocGenerator': '@ChillDocGeneratorBundle/migrations' 'Chill\Migrations\Calendar': '@ChillCalendarBundle/migrations' 'Chill\Migrations\Budget': '@ChillBudgetBundle/migrations' + 'Chill\Migrations\Ticket': '@ChillTicketBundle/migrations' all_or_nothing: true