# Test Index

> Auto-generated by `scripts/generate-tests-md.js`. Do not edit by hand.
> Run `node scripts/generate-tests-md.js` to regenerate.

---

## `test/admin.routes.test.js`
- `GET /api/admin/users`
- `POST /api/admin/users`
- `PATCH /api/admin/users/:id`
- `DELETE /api/admin/users/:id`
- `GET /api/admin/config`
- `PUT /api/admin/config`

---

## `test/auth.routes.test.js`
- `GET /api/auth/server-key`
- `GET /api/auth/setup-needed`
- `POST /api/auth/setup`
- `POST /api/auth/login`
- `session lifecycle / POST /api/auth/logout revokes active session`
- `session lifecycle / session expires after 1 hour of inactivity`

---

## `test/config.test.js`
- `getEffectivePaths`
- `getAllowedRoot`

---

## `tests/files.routes.test.js`
- `POST /api/files/move / moves a file into another folder and rewrites metadata`
- `POST /api/files/move / moves a folder into another folder and rewrites descendant metadata`
- `POST /api/files/move / rejects moving a folder into itself`

---
