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:
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user