Skip to content

Commit 59e4ae1

Browse files
committed
Add #[allow(dead_code)] to create_test_admin test helper
1 parent 94b04e4 commit 59e4ae1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/common/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ pub async fn setup_app(db_pool: DBPool) -> Router {
8888
.with_state(app_state)
8989
}
9090

91+
#[allow(dead_code)]
9192
pub fn create_test_admin(conn: &mut DBPooledConnection, username: &str, password: &str) {
9293
let config = argon2::Config::default();
9394
let hashed_password =

0 commit comments

Comments
 (0)