Files
TimeTracker/tests
Dries Peeters 373a21f323 test(fixtures): enable SQLite FK enforcement and seed baseline roles
- Turn on PRAGMA foreign_keys=ON for every SQLite connection so
  ondelete="CASCADE" and other FK constraints are exercised by tests.
- Disable FK enforcement only for DROP TABLE statements, since the
  schema has cyclic references (deals/leads/projects/quotes) and
  drop_all() cannot order them cleanly.
- Seed admin/user/manager/subcontractor roles in the app fixture so
  route tests that validate against the role table no longer need to
  run the full permission seed command.
- Make TimeEntryFactory.end_time deterministic relative to start_time
  so created entries always represent a valid 2h window.
2026-05-14 06:22:30 +02:00
..
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00
2026-03-08 06:50:42 +01:00