summaryrefslogtreecommitdiff
path: root/server/tests
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-01-01 20:47:59 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-01-01 20:50:11 -0500
commit33dfcd18252dd8a4845cd58b93bd177ab0dffde9 (patch)
treefbb6fc049677a492cd9d5196d6b1709f0b32b873 /server/tests
parentd3fbefad9cf25786fb5f28f96eeceb65d0a8b35b (diff)
Fix clippy warnings
Diffstat (limited to 'server/tests')
-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();