diff --git a/src/morethantext/mod.rs b/src/morethantext/mod.rs index 48a0f0c..c499d33 100644 --- a/src/morethantext/mod.rs +++ b/src/morethantext/mod.rs @@ -162,6 +162,12 @@ mod cache { #[async_std::test] async fn ids_are_random() { + let mtt = MTT::new().await; + mtt.db.new_id().await; + } + + #[async_std::test] + async fn entry_ids_are_random() { let mtt = MTT::new().await; let data1 = CacheEntry::Raw("one".to_string()); let data2 = CacheEntry::Raw("two".to_string());