refactor/tighten-architecture #26
@@ -77,7 +77,3 @@ pub struct FollowRelationResponse {
|
||||
pub struct PendingCountResponse {
|
||||
pub count: usize,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "tests/social.rs"]
|
||||
mod tests;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use super::*;
|
||||
use api_types::social::FollowStateDto;
|
||||
|
||||
#[test]
|
||||
fn follow_state_dto_serializes_to_lowercase_strings() {
|
||||
@@ -718,7 +718,3 @@ impl TryFrom<EventPayload> for DomainEvent {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "tests/lib.rs"]
|
||||
mod tests;
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user