test: move api-types, event-payload tests to tests/

This commit is contained in:
2026-10-25 22:48:43 +01:00
parent 52bbb85980
commit 08a97c9ee9
4 changed files with 8 additions and 10 deletions

View File

@@ -718,7 +718,3 @@ impl TryFrom<EventPayload> for DomainEvent {
}
}
}
#[cfg(test)]
#[path = "tests/lib.rs"]
mod tests;

View File

@@ -1,4 +1,10 @@
use super::*;
use chrono::NaiveDateTime;
use domain::{
events::DomainEvent,
value_objects::{ExternalMetadataId, MovieId, Rating, ReviewId, UserId},
};
use event_payload::EventPayload;
use uuid::Uuid;
fn fixed_dt() -> NaiveDateTime {
chrono::DateTime::from_timestamp(1_700_000_000, 0)