summaryrefslogtreecommitdiff
path: root/server/tests/common/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/common/mod.rs')
-rw-r--r--server/tests/common/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/common/mod.rs b/server/tests/common/mod.rs
index e907306..f88a970 100644
--- a/server/tests/common/mod.rs
+++ b/server/tests/common/mod.rs
@@ -12,10 +12,12 @@ pub fn test_setup() {
.try_init();
}
+#[allow(dead_code)] // Only used in ignored tests.
pub struct TestDb {
db_pool: PgPool,
}
+#[allow(dead_code)] // Only used in ignored tests.
impl TestDb {
pub async fn new() -> Self {
test_setup();