Fix fmt
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Rafael Caricio 2023-04-27 23:30:41 +02:00
parent 9944095959
commit 205ea8c5b8
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947
2 changed files with 5 additions and 2 deletions

View file

@ -80,7 +80,10 @@ pub fn create_pool(database_url: &str, ca_file_path: Option<&Path>, pool_size: u
connector, connector,
) )
} else { } else {
deadpool_postgres::Manager::new(database_url.parse().expect("invalid database URL"), tokio_postgres::NoTls) deadpool_postgres::Manager::new(
database_url.parse().expect("invalid database URL"),
tokio_postgres::NoTls,
)
}; };
DbPool::builder(manager) DbPool::builder(manager)

View file

@ -117,9 +117,9 @@ pub fn verify_rsa_json_signature(
mod tests { mod tests {
use super::*; use super::*;
use crate::json_signatures::create::sign_object; use crate::json_signatures::create::sign_object;
use fedimovies_utils::did_pkh::DidPkh;
use fedimovies_utils::{crypto_rsa::generate_weak_rsa_key, currencies::Currency}; use fedimovies_utils::{crypto_rsa::generate_weak_rsa_key, currencies::Currency};
use serde_json::json; use serde_json::json;
use fedimovies_utils::did_pkh::DidPkh;
#[test] #[test]
fn test_get_json_signature_eip191() { fn test_get_json_signature_eip191() {