refactor: move domain inline tests to separate files under tests/
Some checks failed
CI / Check / Test (push) Failing after 44s

Match the application crate convention: each source file references its
tests via #[cfg(test)] #[path = "tests/filename.rs"] mod tests; with
the test code in a sibling tests/ directory.

- events.rs       -> tests/events.rs
- value_objects.rs -> tests/value_objects.rs
- models/mod.rs   -> models/tests/mod.rs  (renamed from tests.rs)
- models/person.rs -> models/tests/person.rs
- models/goal.rs   -> models/tests/goal.rs
- models/watch_event.rs -> models/tests/watch_event.rs
- services/review_history.rs -> services/tests/review_history.rs
This commit is contained in:
2026-06-10 02:55:47 +02:00
parent b882569ee1
commit 956e51530e
14 changed files with 528 additions and 526 deletions

View File

@@ -92,5 +92,5 @@ pub enum ExportFormat {
}
#[cfg(test)]
#[path = "tests.rs"]
#[path = "tests/mod.rs"]
mod tests;