chore(config) : add DAMA test bundle, update API Platform config, improve makefile
- Register DAMADoctrineTestBundle for test env (transaction rollback) - Update API Platform title/description, add pagination defaults - Configure services for new controllers and commands - Update makefile targets Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
6
makefile
6
makefile
@@ -37,7 +37,7 @@ start: env-init
|
||||
@echo "URLs disponibles:"
|
||||
@echo "- Symfony API: http://localhost:8081/api"
|
||||
@echo "- Nuxt (Inventory_frontend): http://localhost:3001"
|
||||
@echo "- pgAdmin: http://localhost:5050"
|
||||
@echo "- adminer: http://localhost:5050"
|
||||
|
||||
# Éteint le container
|
||||
stop:
|
||||
@@ -117,6 +117,10 @@ php-cs-fixer-allow-risky:
|
||||
test:
|
||||
$(EXEC_PHP) php -d memory_limit="512M" vendor/bin/phpunit $(FILES)
|
||||
|
||||
test-setup:
|
||||
$(SYMFONY_CONSOLE) doctrine:database:create --if-not-exists --env=test
|
||||
$(SYMFONY_CONSOLE) doctrine:schema:update --force --env=test
|
||||
|
||||
wait:
|
||||
sleep 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user