diff --git a/crates/core/src/db/queries/activities.rs b/crates/core/src/db/queries/activities.rs index bb4bc2c8d..6092241a7 100644 --- a/crates/core/src/db/queries/activities.rs +++ b/crates/core/src/db/queries/activities.rs @@ -57,3 +57,11 @@ pub fn list( .load(conn) .context("Failed to load activities") } + +#[cfg(test)] +mod tests { + #[test] + fn test_list() { + todo!("Test list()"); + } +} diff --git a/crates/core/src/db/queries/bonding_changes.rs b/crates/core/src/db/queries/bonding_changes.rs index 9cff4b0f6..2d9ed3e0c 100644 --- a/crates/core/src/db/queries/bonding_changes.rs +++ b/crates/core/src/db/queries/bonding_changes.rs @@ -54,3 +54,11 @@ pub fn list( .load(conn) .context("Failed to load enriched bonding changes") } + +#[cfg(test)] +mod tests { + #[test] + fn test_list() { + todo!("Test list()"); + } +} diff --git a/crates/core/src/db/queries/charts.rs b/crates/core/src/db/queries/charts.rs index fd20667de..93136f254 100644 --- a/crates/core/src/db/queries/charts.rs +++ b/crates/core/src/db/queries/charts.rs @@ -136,3 +136,19 @@ pub fn total_volume_prices( .load(conn) .context("Failed to load average prices") } + +#[cfg(test)] +mod tests { + #[test] + fn test_floor_prices() { + todo!("Test floor_prices()"); + } + #[test] + fn test_average_prices() { + todo!("Test average_prices()"); + } + #[test] + fn test_total_volume_prices() { + todo!("Test total_volume_prices()"); + } +} diff --git a/crates/core/src/db/queries/featured_listings.rs b/crates/core/src/db/queries/featured_listings.rs index f44974dea..56de54122 100644 --- a/crates/core/src/db/queries/featured_listings.rs +++ b/crates/core/src/db/queries/featured_listings.rs @@ -88,3 +88,11 @@ pub fn list( .load(conn) .context("Failed to load featured listings") } + +#[cfg(test)] +mod tests { + #[test] + fn test_list() { + todo!("Test list()"); + } +} diff --git a/crates/core/src/db/queries/feed_event.rs b/crates/core/src/db/queries/feed_event.rs index 517747269..e4b152856 100644 --- a/crates/core/src/db/queries/feed_event.rs +++ b/crates/core/src/db/queries/feed_event.rs @@ -370,3 +370,15 @@ pub fn list_relay( .load(conn) .context("Failed to load feed events") } + +#[cfg(test)] +mod tests { + #[test] + fn test_list() { + todo!("Test list()"); + } + #[test] + fn test_list_relay() { + todo!("Test list_relay()"); + } +} diff --git a/crates/core/src/db/queries/graph_connection.rs b/crates/core/src/db/queries/graph_connection.rs index ab7dba65d..db2d80f38 100644 --- a/crates/core/src/db/queries/graph_connection.rs +++ b/crates/core/src/db/queries/graph_connection.rs @@ -69,3 +69,16 @@ pub fn list( .load(conn) .context("failed to load twitter enriched graph connections by addresses") } + +#[cfg(test)] +mod tests { + #[test] + fn test_connections() { + todo!("Test connections()"); + } + + #[test] + fn test_list() { + todo!("Test list()"); + } +} diff --git a/crates/core/src/db/queries/metadatas.rs b/crates/core/src/db/queries/metadatas.rs index 7df5a5c24..739bbe2b0 100644 --- a/crates/core/src/db/queries/metadatas.rs +++ b/crates/core/src/db/queries/metadatas.rs @@ -468,3 +468,15 @@ pub fn activities( .load(conn) .context("Failed to load nft(s) activities") } + +#[cfg(test)] +mod tests { + #[test] + fn test_list() { + todo!("Test list()"); + } + #[test] + fn test_activities() { + todo!("Test activities()"); + } +} diff --git a/crates/core/src/db/queries/nft_count.rs b/crates/core/src/db/queries/nft_count.rs index 1ee7d580e..b82497084 100644 --- a/crates/core/src/db/queries/nft_count.rs +++ b/crates/core/src/db/queries/nft_count.rs @@ -313,5 +313,6 @@ mod tests { let conn = connect(); std::mem::drop(super::store_creators(&conn, Vec::::new()).unwrap()); + todo!("Check that the result is non-empty"); } } diff --git a/crates/core/src/db/queries/stats.rs b/crates/core/src/db/queries/stats.rs index da8bf2b5c..5903fa7d5 100644 --- a/crates/core/src/db/queries/stats.rs +++ b/crates/core/src/db/queries/stats.rs @@ -141,3 +141,19 @@ pub fn collection( .load(conn) .context("Failed to load collection mint stats") } + +#[cfg(test)] +mod tests { + #[test] + fn test_mint() { + todo!("Test mint()"); + } + #[test] + fn test_market() { + todo!("Test market()"); + } + #[test] + fn test_collection() { + todo!("Test collection()"); + } +} diff --git a/crates/core/src/db/queries/wallet.rs b/crates/core/src/db/queries/wallet.rs index ea8a83d89..3983c94e6 100644 --- a/crates/core/src/db/queries/wallet.rs +++ b/crates/core/src/db/queries/wallet.rs @@ -64,3 +64,11 @@ pub fn activities(conn: &Connection, address: impl ToSql) -> Result, Vec> for Batcher { async fn load(