diff options
Diffstat (limited to 'src/database/mod.rs')
-rw-r--r-- | src/database/mod.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/database/mod.rs b/src/database/mod.rs index 1a6aa84..d6b7dd6 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -7,10 +7,6 @@ mod redis; pub use crate::database::redis::RedisStorage; #[cfg(test)] pub use redis::tests::get_redis_instance; -#[cfg(test)] -mod memory; -#[cfg(test)] -pub(crate) use crate::database::memory::MemoryStorage; #[derive(Serialize, Deserialize, PartialEq, Debug)] pub struct MicropubChannel { @@ -225,17 +221,6 @@ mod tests { } #[async_std::test] - async fn test_memory_storage_basic_operations() { - let backend = super::MemoryStorage::new(); - test_backend_basic_operations(backend).await - } - #[async_std::test] - async fn test_memory_storage_channel_support() { - let backend = super::MemoryStorage::new(); - test_backend_get_channel_list(backend).await - } - - #[async_std::test] async fn test_redis_storage_basic_operations() { let (tempdir, mut redis, uri) = get_redis_instance().await; let backend = super::RedisStorage::new(uri).await.unwrap(); |