refactor/tighten-architecture #26

Merged
GKaszewski merged 104 commits from refactor/tighten-architecture into master 2026-10-26 09:36:27 +00:00
4 changed files with 8 additions and 10 deletions
Showing only changes of commit 08a97c9ee9 - Show all commits

View File

@@ -77,7 +77,3 @@ pub struct FollowRelationResponse {
pub struct PendingCountResponse { pub struct PendingCountResponse {
pub count: usize, pub count: usize,
} }
#[cfg(test)]
#[path = "tests/social.rs"]
mod tests;

View File

@@ -1,4 +1,4 @@
use super::*; use api_types::social::FollowStateDto;
#[test] #[test]
fn follow_state_dto_serializes_to_lowercase_strings() { fn follow_state_dto_serializes_to_lowercase_strings() {

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 { fn fixed_dt() -> NaiveDateTime {
chrono::DateTime::from_timestamp(1_700_000_000, 0) chrono::DateTime::from_timestamp(1_700_000_000, 0)