<!-- Parent: ../AGENTS.md -->
<!-- Generated: 2026-07-02 | Updated: 2026-07-02 -->

# tests

## Purpose
PHPUnit test scaffolding. Currently only the bootstrap exists — there is **no meaningful automated test coverage** in this project.

## Key Files
| File | Description |
|------|-------------|
| `bootstrap.php` | PHPUnit bootstrap (loads env, autoloader) |

## For AI Agents

### Working In This Directory
- Test config is in root `phpunit.xml.dist`.
- If adding tests, follow Symfony conventions: `App\Tests\` namespace, `*Test.php` suffix; use `WebTestCase` for controller/functional tests.
- Because auth is custom session-based (not the firewall), functional tests must set the required session keys manually rather than using `loginUser()`.

### Testing Requirements
- Run with `php bin/phpunit` (or `vendor/bin/phpunit`).

## Dependencies

### External
- PHPUnit, `symfony/phpunit-bridge` (dev).

<!-- MANUAL: -->
