Add run_test Make command, remove unused $page param, add AccountController tests

- Add `make run_test` command to run PHP and JS tests via Docker dev
- Remove unused `$page` parameter from SitemapController::getEventUrls() and getOrgaUrls()
- Add AccountControllerTest with auth redirect and authenticated access tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-19 08:55:53 +01:00
parent 9f855717cb
commit 0a267060b3
3 changed files with 54 additions and 4 deletions

View File

@@ -36,6 +36,11 @@ install_prod: ## Install les dependances et build les assets pour la prod
bun install
bun run build
## —— Tests ————————————————————————————————————————
run_test: ## Lance les tests PHP et JS via Docker dev
docker compose -f docker-compose-dev.yml exec php php bin/phpunit
docker compose -f docker-compose-dev.yml exec bun bun run test
## —— Symfony ——————————————————————————————————————
entity: ## Creer ou modifier une entite via Docker dev
docker compose -f docker-compose-dev.yml exec php php bin/console make:entity