#[cfg(feature = "postgres")]
use limiteron::adapters::StorageFactory;
#[cfg(feature = "postgres")]
#[tokio::test]
async fn test_storage_factory_new() {
let config = limiteron::adapters::StorageFactoryConfig::postgres("postgresql://localhost/test");
let _ = StorageFactory::new(config);
}
#[cfg(feature = "postgres")]
#[tokio::test]
async fn test_storage_factory_from_dsn() {
let factory = StorageFactory::from_dsn("postgresql://localhost/test");
assert!(!factory.is_initialized());
}