Files
movies-diary/crates/application/tests/integrations/cleanup_test.rs
Gabriel Kaszewski 017b58d6fa
Some checks failed
CI / Check / Test (push) Has been cancelled
code refactor
Reviewed-on: #26
2026-10-26 09:36:23 +00:00

13 lines
279 B
Rust

use domain::testing::InMemoryStore;
use application::integrations::cleanup;
#[tokio::test]
async fn returns_zero_when_nothing_to_clean() {
let watch_events = InMemoryStore::new();
let count = cleanup::execute(watch_events).await.unwrap();
assert_eq!(count, 0);
}